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 c602b73087a6a6298000698707d77d7c468c41a7..7a7419e4310869dfcf177ae369bfd9d4ef695588 100644 |
--- a/pkg/analyzer/test/generated/non_error_resolver_test.dart |
+++ b/pkg/analyzer/test/generated/non_error_resolver_test.dart |
@@ -990,6 +990,18 @@ class A { |
verify([source]); |
} |
+ void test_const_constructor_with_named_generic_parameter() { |
+ Source source = addSource(''' |
+class C<T> { |
+ const C({T t}); |
+} |
+const c = const C(t: 1); |
+'''); |
+ resolve(source); |
+ assertNoErrors(source); |
+ verify([source]); |
+ } |
+ |
void test_const_dynamic() { |
Source source = addSource(''' |
const Type d = dynamic; |