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

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

Issue 2865403007: Get rid of promotedType=none annotations (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 3a2a66325f6c71af94dbbbbd77031bc176f7f071..bf6237ac8f1b4445dac67703d89611dfbc8d04a3 100644
--- a/pkg/front_end/testcases/inference/propagate_inference_transitively.dart
+++ b/pkg/front_end/testcases/inference/propagate_inference_transitively.dart
@@ -11,8 +11,8 @@ class A {
test5() {
var /*@type=A*/ a1 = new A();
- /*@promotedType=none*/ a1.x = /*error:INVALID_ASSIGNMENT*/ "hi";
+ a1.x = /*error:INVALID_ASSIGNMENT*/ "hi";
A a2 = new A();
- /*@promotedType=none*/ a2.x = /*error:INVALID_ASSIGNMENT*/ "hi";
+ a2.x = /*error:INVALID_ASSIGNMENT*/ "hi";
}

Powered by Google App Engine
This is Rietveld 408576698