Index: packages/analyzer/test/generated/non_error_resolver_test.dart |
diff --git a/packages/analyzer/test/generated/non_error_resolver_test.dart b/packages/analyzer/test/generated/non_error_resolver_test.dart |
index dedbb2a4523b6d8b4e898bf233d50e15913ac329..8a6c71f162ad9cb2deaae19c1da08b320a92b6c8 100644 |
--- a/packages/analyzer/test/generated/non_error_resolver_test.dart |
+++ b/packages/analyzer/test/generated/non_error_resolver_test.dart |
@@ -691,6 +691,32 @@ class A { |
verify([source]); |
} |
+ void test_bug_24539_getter() { |
+ Source source = addSource(''' |
+class C<T> { |
+ List<Foo> get x => null; |
+} |
+ |
+typedef Foo(param); |
+'''); |
+ computeLibrarySourceErrors(source); |
+ assertNoErrors(source); |
+ verify([source]); |
+ } |
+ |
+ void test_bug_24539_setter() { |
+ Source source = addSource(''' |
+class C<T> { |
+ void set x(List<Foo> value) {} |
+} |
+ |
+typedef Foo(param); |
+'''); |
+ computeLibrarySourceErrors(source); |
+ assertNoErrors(source); |
+ verify([source]); |
+ } |
+ |
void test_builtInIdentifierAsType_dynamic() { |
Source source = addSource(r''' |
f() { |