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

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

Issue 2863603004: Fix handling of null/bottom in front_end type inference. (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.dart
diff --git a/pkg/front_end/testcases/inference/list_literals.dart b/pkg/front_end/testcases/inference/list_literals.dart
index 7fdd2c4e33db8383f930a115f0e35c4f2355b353..5754154749a790be5fcbc740352df7523afdcc1c 100644
--- a/pkg/front_end/testcases/inference/list_literals.dart
+++ b/pkg/front_end/testcases/inference/list_literals.dart
@@ -19,3 +19,8 @@ test2() {
/*@promotedType=none*/ x.add(4.0);
List<int> y = /*info:ASSIGNMENT_CAST*/ /*@promotedType=none*/ x;
}
+
+main() {
+ test1();
+ test2();
+}
« no previous file with comments | « pkg/front_end/test/fasta/strong.status ('k') | pkg/front_end/testcases/inference/list_literals.dart.strong.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698