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

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

Issue 2905353002: Add type inference logic for map literals (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 4352c2727a28ccca92812cd0f4a5259b243fc81e..7ce98e6c45bb393b442116455bb563a91fde6f4d 100644
--- a/pkg/front_end/testcases/inference/map_literals_top_level.dart
+++ b/pkg/front_end/testcases/inference/map_literals_top_level.dart
@@ -31,3 +31,5 @@ test2() {
x2 /*@target=Map::[]=*/ [2] = p;
Map<int, String> y = /*info:ASSIGNMENT_CAST*/ x2;
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698