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

Unified Diff: pkg/front_end/testcases/inference/future_union_async_conditional_2.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_2.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.expect b/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.expect
index d3dfeda7a757c47726710a0001c249c1f6e7b995..a7d21468d8ab5c4343f2902fb561ed0c1b870566 100644
--- a/pkg/front_end/testcases/inference/future_union_async_conditional_2.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/future_union_async_conditional_2.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 : new self::MyFuture::value<core::int>(42);
+ return x ?{core::Object} 42 : new self::MyFuture::value<core::int>(42);
}
static method g2(core::bool x) → asy::Future<core::int> async
- return x ? 42 : new self::MyFuture::value<core::int>(42);
+ return x ?{core::Object} 42 : new self::MyFuture::value<core::int>(42);
static method g3(core::bool x) → asy::Future<core::int> async {
- core::Object y = x ? 42 : new self::MyFuture::value<dynamic>(42);
+ core::Object y = x ?{core::Object} 42 : new self::MyFuture::value<dynamic>(42);
return y;
}
static method main() → dynamic {}

Powered by Google App Engine
This is Rietveld 408576698