Index: pkg/analyzer/test/generated/non_error_resolver_test.dart |
diff --git a/pkg/analyzer/test/generated/non_error_resolver_test.dart b/pkg/analyzer/test/generated/non_error_resolver_test.dart |
index e516d5d9e6566804a721d3f7c97e68b52e33dc24..8392f69dc190c39864802fbe43ac34c0a1a28cdb 100644 |
--- a/pkg/analyzer/test/generated/non_error_resolver_test.dart |
+++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart |
@@ -1311,6 +1311,32 @@ const Type d = dynamic; |
verify([source]); |
} |
+ test_const_imported_defaultParameterValue_withImportPrefix() async { |
+ resetWith(options: new AnalysisOptionsImpl()..strongMode = true); |
+ Source source = addNamedSource( |
+ "/a.dart", |
+ r''' |
+import 'b.dart'; |
+const b = const B(); |
+'''); |
+ addNamedSource( |
+ "/b.dart", |
+ r''' |
+import 'c.dart' as ccc; |
+class B { |
+ const B([p = ccc.value]); |
+} |
+'''); |
+ addNamedSource( |
+ "/c.dart", |
+ r''' |
+const int value = 12345; |
+'''); |
+ await computeAnalysisResult(source); |
+ assertNoErrors(source); |
+ verify([source]); |
+ } |
+ |
test_constConstructorWithNonConstSuper_explicit() async { |
Source source = addSource(r''' |
class A { |