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

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

Issue 2863733003: Hook up full list literal type inference logic. (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/list_literals_top_level.dart
diff --git a/pkg/front_end/testcases/inference/list_literals_top_level.dart b/pkg/front_end/testcases/inference/list_literals_top_level.dart
index d570a4bf8c2f551c2326c011ed93a023c1398588..58c36650730d5c1b19e81b940b3e810408387aec 100644
--- a/pkg/front_end/testcases/inference/list_literals_top_level.dart
+++ b/pkg/front_end/testcases/inference/list_literals_top_level.dart
@@ -19,3 +19,8 @@ test2() {
x2.add(4.0);
List<int> y = /*info:ASSIGNMENT_CAST*/ x2;
}
+
+main() {
+ test1();
+ test2();
+}

Powered by Google App Engine
This is Rietveld 408576698