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

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

Issue 2886873005: Minor type inference fixes to do with null and bottom types. (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/infer_throw.dart
diff --git a/pkg/front_end/testcases/inference/infer_throw.dart b/pkg/front_end/testcases/inference/infer_throw.dart
index f7dd16870d44a18f9f3c32f7c9326302ccc74787..0bd74f4c71a6e38bc1737ef3343fbb9e27c14a50 100644
--- a/pkg/front_end/testcases/inference/infer_throw.dart
+++ b/pkg/front_end/testcases/inference/infer_throw.dart
@@ -10,3 +10,5 @@ var /*@topType=dynamic*/ a = (throw 0);
var /*@topType=int*/ b = (throw 0) ? 1 : 2;
var /*@topType=int*/ c = t ? (throw 1) : 2;
var /*@topType=int*/ d = t ? 1 : (throw 2);
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698