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

Unified Diff: pkg/front_end/testcases/inference/conditional_lub.dart.direct.expect

Issue 2953503002: Only set types of conditional expressions in strong mode. (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.direct.expect
diff --git a/pkg/front_end/testcases/inference/conditional_lub.dart.direct.expect b/pkg/front_end/testcases/inference/conditional_lub.dart.direct.expect
index 29f9cb037d1e9e139f66e11699e69d6755432511..42ba544c860c46fd064a705e54b521f8fb8baf89 100644
--- a/pkg/front_end/testcases/inference/conditional_lub.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/conditional_lub.dart.direct.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 dynamic z = self::b ?{core::num} self::x : self::y;
+static field dynamic z = self::b ? self::x : self::y;
static method main() → dynamic {
- dynamic z = self::b ?{core::num} self::x : self::y;
+ dynamic z = self::b ? self::x : self::y;
}

Powered by Google App Engine
This is Rietveld 408576698