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

Unified Diff: pkg/front_end/testcases/inference/conditional_upwards_inference.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_upwards_inference.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.expect b/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.expect
index 9e25830911a8a809208b44a991747d1af6699c36..8145e1106bd470b3eee3c1b665fd8537cf67ce07 100644
--- a/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/conditional_upwards_inference.dart.direct.expect
@@ -13,5 +13,5 @@ static method main() → dynamic {
core::List<core::int> l2 = <dynamic>[2];
dynamic x = new self::C::•<dynamic>(l1);
dynamic y = new self::C::•<dynamic>(l2);
- dynamic z = new self::C::•<dynamic>(b ?{core::List<core::int>} l1 : l2);
+ dynamic z = new self::C::•<dynamic>(b ? l1 : l2);
}

Powered by Google App Engine
This is Rietveld 408576698