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

Unified Diff: pkg/front_end/testcases/inference_new/map_literals_can_infer_null_top_level.dart

Issue 2951373002: Move tests {list,map}_literals_can_infer_null_top_level to inference_new (Closed)
Patch Set: Created 3 years, 6 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_new/map_literals_can_infer_null_top_level.dart
diff --git a/pkg/front_end/testcases/inference/map_literals_can_infer_null_top_level.dart b/pkg/front_end/testcases/inference_new/map_literals_can_infer_null_top_level.dart
similarity index 73%
rename from pkg/front_end/testcases/inference/map_literals_can_infer_null_top_level.dart
rename to pkg/front_end/testcases/inference_new/map_literals_can_infer_null_top_level.dart
index 35aa7a54e5ecd4ec0e46ebf172ad94eb64712cb1..6b5dccdab0f89b85e483daa77661ced6bf4fa4fa 100644
--- a/pkg/front_end/testcases/inference/map_literals_can_infer_null_top_level.dart
+++ b/pkg/front_end/testcases/inference_new/map_literals_can_infer_null_top_level.dart
@@ -5,6 +5,8 @@
/*@testedFeatures=inference*/
library test;
-var /*@topType=Map<dynamic, dynamic>*/ x = /*@typeArgs=dynamic, dynamic*/ {
- null: null
-};
+var /*@topType=Map<Null, Null>*/ x = /*@typeArgs=Null, Null*/ {null: null};
+
+main() {
+ x;
+}

Powered by Google App Engine
This is Rietveld 408576698