Index: pkg/front_end/testcases/inference/propagate_inference_transitively.dart |
diff --git a/pkg/front_end/testcases/inference/propagate_inference_transitively.dart b/pkg/front_end/testcases/inference/propagate_inference_transitively.dart |
index b3d6d798d834777ececae69587266cb2748f994a..07d4bfcb23aaf57b1865310d8a3c2f48a29998ac 100644 |
--- a/pkg/front_end/testcases/inference/propagate_inference_transitively.dart |
+++ b/pkg/front_end/testcases/inference/propagate_inference_transitively.dart |
@@ -11,10 +11,10 @@ class A { |
test5() { |
var /*@type=A*/ a1 = new A(); |
- a1.x = /*error:INVALID_ASSIGNMENT*/ "hi"; |
+ a1. /*@target=A::x*/ x = /*error:INVALID_ASSIGNMENT*/ "hi"; |
A a2 = new A(); |
- a2.x = /*error:INVALID_ASSIGNMENT*/ "hi"; |
+ a2. /*@target=A::x*/ x = /*error:INVALID_ASSIGNMENT*/ "hi"; |
} |
main() {} |