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

Unified Diff: pkg/front_end/testcases/inference/map_literals.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.dart
diff --git a/pkg/front_end/testcases/inference/map_literals.dart b/pkg/front_end/testcases/inference/map_literals.dart
index 3fff864cff2e98ee103bfd85c23a57ee4d954f86..c60d84dcf3c4460ec06a7663644ae02bd3fe42f7 100644
--- a/pkg/front_end/testcases/inference/map_literals.dart
+++ b/pkg/front_end/testcases/inference/map_literals.dart
@@ -31,3 +31,5 @@ test2() {
x /*@target=Map::[]=*/ [2] = p;
Map<int, String> y = /*info:ASSIGNMENT_CAST*/ x;
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698