Index: pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart |
diff --git a/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart b/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart |
index 3a46d14bd92423307c7e6da546f44bba44a8d434..1ce8eae97bb0fe59a057e7b2d8c8c29e59bfccc9 100644 |
--- a/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart |
+++ b/pkg/front_end/testcases/inference/propagate_inference_to_field_in_class.dart |
@@ -9,9 +9,10 @@ class A { |
int x = 2; |
} |
-test() { |
+main() { |
var /*@type=A*/ a = new A(); |
A b = a; // doesn't require down cast |
- print(a.x); // doesn't require dynamic invoke |
- print(a.x /*@target=num::+*/ + 2); // ok to use in bigger expression |
+ print(a. /*@target=A::x*/ x); // doesn't require dynamic invoke |
+ print(a. /*@target=A::x*/ x /*@target=num::+*/ + |
+ 2); // ok to use in bigger expression |
} |