Index: pkg/front_end/testcases/inference/non_inferrable_getter_setter.dart |
diff --git a/pkg/front_end/testcases/inference/infer_parameter_type_setter_from_field.dart b/pkg/front_end/testcases/inference/non_inferrable_getter_setter.dart |
similarity index 74% |
copy from pkg/front_end/testcases/inference/infer_parameter_type_setter_from_field.dart |
copy to pkg/front_end/testcases/inference/non_inferrable_getter_setter.dart |
index 2374e76f44f36b87a2f587189dcc555194a956ef..919883cddaf295b029e3403e3876769aceda24de 100644 |
--- a/pkg/front_end/testcases/inference/infer_parameter_type_setter_from_field.dart |
+++ b/pkg/front_end/testcases/inference/non_inferrable_getter_setter.dart |
@@ -5,12 +5,9 @@ |
/*@testedFeatures=inference*/ |
library test; |
-class C extends D { |
- set foo(x) {} |
-} |
- |
-class D { |
- int foo; |
+class C { |
+ get /*@topType=dynamic*/ x => null; |
+ void set x(/*@topType=dynamic*/ value) {} |
} |
main() {} |