Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: pkg/front_end/testcases/inference/propagate_inference_transitively.dart

Issue 2919623002: Implement type inference for PropertySet. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {}

Powered by Google App Engine
This is Rietveld 408576698