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

Unified Diff: pkg/front_end/testcases/inference/conditional_lub.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/conditional_lub.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/conditional_lub.dart.strong.expect b/pkg/front_end/testcases/inference/conditional_lub.dart.strong.expect
index 8239af7e0739f24f7e40a5fbfe83cf281086daaf..2de4bbec2c938f3b5bafe5c6066b8d589dd31711 100644
--- a/pkg/front_end/testcases/inference/conditional_lub.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/conditional_lub.dart.strong.expect
@@ -5,7 +5,7 @@ import "dart:core" as core;
static field core::bool b = true;
static field core::int x = 0;
static field core::double y = 0.0;
-static field core::num z = self::b ? self::x : self::y;
+static field core::num z = self::b ?{core::num} self::x : self::y;
static method main() → dynamic {
- core::num z = self::b ? self::x : self::y;
+ core::num z = self::b ?{core::num} self::x : self::y;
}

Powered by Google App Engine
This is Rietveld 408576698