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

Unified Diff: pkg/front_end/testcases/inference/map_literals_can_infer_null.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_can_infer_null.dart
diff --git a/pkg/front_end/testcases/inference/map_literals_can_infer_null.dart b/pkg/front_end/testcases/inference/map_literals_can_infer_null.dart
index 5d453b67a85ffab39b1d6af1e778430dfed7d399..7a0bf95b8b695c7d3027b167de0b3e7d7705e0dd 100644
--- a/pkg/front_end/testcases/inference/map_literals_can_infer_null.dart
+++ b/pkg/front_end/testcases/inference/map_literals_can_infer_null.dart
@@ -7,6 +7,6 @@ library test;
test1() {
var /*@type=Map<Null, Null>*/ x = /*@typeArgs=Null, Null*/ {null: null};
- /*@promotedType=none*/ x /*@target=Map::[]=*/ [
+ x /*@target=Map::[]=*/ [
/*error:INVALID_CAST_LITERAL*/ 3] = /*error:INVALID_CAST_LITERAL*/ 'z';
}
« no previous file with comments | « pkg/front_end/testcases/inference/map_literals.dart ('k') | pkg/front_end/testcases/inference/map_literals_top_level.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698