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

Unified Diff: pkg/front_end/testcases/inference/future_union_async_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/future_union_async_conditional.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.expect b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.expect
index a740c4cf5b9a1d4c6815e0c75c198fd752f91a3f..d2f9582dc768e7e75c3cd65d07c48fb906f4e47f 100644
--- a/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/future_union_async_conditional.dart.strong.expect
@@ -13,12 +13,12 @@ class MyFuture<T extends core::Object> extends core::Object implements asy::Futu
return null;
}
static method g1(core::bool x) → asy::Future<core::int> async {
- return x ? 42 : asy::Future::value<core::int>(42);
+ return x ?{core::Object} 42 : asy::Future::value<core::int>(42);
}
static method g2(core::bool x) → asy::Future<core::int> async
- return x ? 42 : asy::Future::value<core::int>(42);
+ return x ?{core::Object} 42 : asy::Future::value<core::int>(42);
static method g3(core::bool x) → asy::Future<core::int> async {
- core::Object y = x ? 42 : asy::Future::value<core::int>(42);
+ core::Object y = x ?{core::Object} 42 : asy::Future::value<core::int>(42);
return y;
}
static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698