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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_is_typedef.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/inferred_type_is_typedef.dart
diff --git a/pkg/front_end/testcases/inference/inferred_type_is_typedef.dart b/pkg/front_end/testcases/inference/inferred_type_is_typedef.dart
index 3e2e8ad9a9d060b073ee8ab9397e463b086cead1..fa8c890c44969dfd15497deeacef2979b47520b5 100644
--- a/pkg/front_end/testcases/inference/inferred_type_is_typedef.dart
+++ b/pkg/front_end/testcases/inference/inferred_type_is_typedef.dart
@@ -7,3 +7,7 @@ library test;
typedef void F();
final /*@topType=Map<String, () -> void>*/ x = <String, F>{};
+
+main() {
+ x;
+}

Powered by Google App Engine
This is Rietveld 408576698