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

Unified Diff: pkg/front_end/testcases/inference/list_literals_can_infer_null_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_can_infer_null_top_level.dart
diff --git a/pkg/front_end/testcases/inference/list_literals_can_infer_null_top_level.dart b/pkg/front_end/testcases/inference/list_literals_can_infer_null_top_level.dart
index ec3728dc641c53b08735784cc3530bb42d3bfb30..3b2d7dfd11434e5c7342d41238bc14e1a269b052 100644
--- a/pkg/front_end/testcases/inference/list_literals_can_infer_null_top_level.dart
+++ b/pkg/front_end/testcases/inference/list_literals_can_infer_null_top_level.dart
@@ -6,3 +6,7 @@
library test;
var /*@topType=List<dynamic>*/ x = /*@typeArgs=dynamic*/ [null];
+
+main() {
+ x;
+}

Powered by Google App Engine
This is Rietveld 408576698