Index: pkg/analyzer/test/src/summary/resynthesize_common.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
index faced5377a7d8ec62676d9acc8c79ed7b5d73a9e..5f1f61958f6a425ab47b32e094054fcbc7f77e64 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -1635,6 +1635,14 @@ f() { |
'''); |
} |
+ test_closure_in_variable_declaration_in_part() { |
+ addSource('/a.dart', 'part of lib; final f = (int i) => i.toDouble();'); |
+ checkLibrary(''' |
+library lib; |
+part "a.dart"; |
+'''); |
+ } |
+ |
test_const_invalid_field_const() { |
variablesWithNotConstInitializers.add('f'); |
checkLibrary( |