Index: pkg/front_end/testcases/inference/infer_setter_from_later_inferred_setter.dart |
diff --git a/pkg/front_end/testcases/inference/infer_parameter_type_setter_from_field.dart b/pkg/front_end/testcases/inference/infer_setter_from_later_inferred_setter.dart |
similarity index 60% |
copy from pkg/front_end/testcases/inference/infer_parameter_type_setter_from_field.dart |
copy to pkg/front_end/testcases/inference/infer_setter_from_later_inferred_setter.dart |
index 2374e76f44f36b87a2f587189dcc555194a956ef..2a4141bf221ab6cd7c6c451cc1bf96f8f879f3fe 100644 |
--- a/pkg/front_end/testcases/inference/infer_parameter_type_setter_from_field.dart |
+++ b/pkg/front_end/testcases/inference/infer_setter_from_later_inferred_setter.dart |
@@ -5,12 +5,16 @@ |
/*@testedFeatures=inference*/ |
library test; |
-class C extends D { |
- set foo(x) {} |
+class A implements B { |
+ void set x(/*@topType=int*/ value) {} |
} |
-class D { |
- int foo; |
+abstract class B implements C { |
+ void set x(/*@topType=int*/ value); |
+} |
+ |
+abstract class C { |
+ void set x(int value); |
} |
main() {} |