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

Side by Side Diff: pkg/front_end/testcases/inference/future_then_downwards_method_target.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> f;
8 asy::Future<core::List<core::int>> b = f.{asy::Future::then}<core::List<dynami c>>((core::int x) → core::List<dynamic> => <dynamic>[]).{asy::Future::whenComple te}(() → core::Null {});
9 b = f.{asy::Future::then}<core::List<core::int>>((core::int x) → core::List<co re::int> => <core::int>[]);
10 }
11 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698