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

Side by Side Diff: pkg/front_end/testcases/inference/future_then_upwards_from_block.dart.strong.expect

Issue 2904263003: Implement type inference for await expressions in front_end. (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 unified diff | Download patch
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:async" as asy;
4 import "dart:core" as core;
5
6 static method test() → dynamic {
7 asy::Future<core::int> base;
8 asy::Future<core::bool> f = base.{asy::Future::then}<core::bool>((core::int x) → core::bool {
9 return x.{core::num::==}(0);
10 });
11 asy::Future<core::bool> g = base.{asy::Future::then}<core::bool>((core::int x) → core::bool => x.{core::num::==}(0));
12 asy::Future<core::bool> b = f;
13 b = g;
14 }
15 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698