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

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

Powered by Google App Engine
This is Rietveld 408576698