Index: pkg/front_end/testcases/inference/infer_type_on_var_from_field.dart |
diff --git a/pkg/front_end/testcases/inference/infer_type_on_var_from_field.dart b/pkg/front_end/testcases/inference/infer_type_on_var_from_field.dart |
index 605f9c73d3f27b3b63bbb74b2d3a5d44e4024364..8c53b400182939b414ba7fedb8cd76871bdf38b9 100644 |
--- a/pkg/front_end/testcases/inference/infer_type_on_var_from_field.dart |
+++ b/pkg/front_end/testcases/inference/infer_type_on_var_from_field.dart |
@@ -8,7 +8,7 @@ library test; |
class A { |
int x = 0; |
- test1() { |
+ /*@topType=dynamic*/ test1() { |
var /*@type=int*/ a = /*@target=A::x*/ x; |
a = /*error:INVALID_ASSIGNMENT*/ "hi"; |
a = 3; |