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

Unified Diff: pkg/front_end/testcases/inference/infer_conditional.dart.strong.expect

Issue 2949753002: Print static types of conditional expressions. (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/infer_conditional.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_conditional.dart.strong.expect b/pkg/front_end/testcases/inference/infer_conditional.dart.strong.expect
index 7b728812fdf624afca85be691228c12776b32024..7a49b3e1978d9d4252856fcde9bc687d6f7aecc7 100644
--- a/pkg/front_end/testcases/inference/infer_conditional.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_conditional.dart.strong.expect
@@ -2,8 +2,8 @@ library test;
import self as self;
import "dart:core" as core;
-static field core::num a = 1.{core::num::==}(2) ? 1 : 2.0;
-static field core::num b = 1.{core::num::==}(2) ? 1.0 : 2;
+static field core::num a = 1.{core::num::==}(2) ?{core::num} 1 : 2.0;
+static field core::num b = 1.{core::num::==}(2) ?{core::num} 1.0 : 2;
static method main() → dynamic {
self::a;
self::b;

Powered by Google App Engine
This is Rietveld 408576698