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

Unified Diff: pkg/front_end/testcases/inference/map_literals_top_level.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/map_literals_top_level.dart
diff --git a/pkg/front_end/testcases/inference/map_literals_top_level.dart b/pkg/front_end/testcases/inference/map_literals_top_level.dart
index 1cbae0cba3d450bf64f57e111c6abf216f960ef4..4352c2727a28ccca92812cd0f4a5259b243fc81e 100644
--- a/pkg/front_end/testcases/inference/map_literals_top_level.dart
+++ b/pkg/front_end/testcases/inference/map_literals_top_level.dart
@@ -28,6 +28,6 @@ test2() {
x2 /*@target=Map::[]=*/ [4.0] = 'u';
x2 /*@target=Map::[]=*/ [3] = /*error:INVALID_ASSIGNMENT*/ 42;
Pattern p = null;
- x2 /*@target=Map::[]=*/ [2] = /*@promotedType=none*/ p;
+ x2 /*@target=Map::[]=*/ [2] = p;
Map<int, String> y = /*info:ASSIGNMENT_CAST*/ x2;
}

Powered by Google App Engine
This is Rietveld 408576698