Index: pkg/analyzer/test/src/summary/top_level_inference_test.dart |
diff --git a/pkg/analyzer/test/src/summary/top_level_inference_test.dart b/pkg/analyzer/test/src/summary/top_level_inference_test.dart |
index 9ed86a7d18cfa62e0bfb0cd6da5a2a7e87390e77..9ae0ad563ca290b6e8eeab521c1e1a6e84bc8da0 100644 |
--- a/pkg/analyzer/test/src/summary/top_level_inference_test.dart |
+++ b/pkg/analyzer/test/src/summary/top_level_inference_test.dart |
@@ -1450,6 +1450,27 @@ Null V; |
'''); |
} |
+ test_instanceField_error_noSetterParameter() async { |
+ var library = await _encodeDecodeLibrary(r''' |
+abstract class A { |
+ int x; |
+} |
+class B implements A { |
+ set x() {} |
+} |
+'''); |
+ checkElementText( |
+ library, |
+ r''' |
+abstract class A { |
+ int x; |
+} |
+class B implements A { |
+ void set x() {} |
+} |
+'''); |
+ } |
+ |
test_instanceField_fieldFormal() async { |
var library = await _encodeDecodeLibrary(r''' |
class A { |