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

Side by Side Diff: pkg/front_end/testcases/async_function.dart.outline.expect

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:async" as asy; 3 import "dart:async" as asy;
4 import "dart:core" as core; 4 import "dart:core" as core;
5 5
6 static field core::List<core::String> stringList = <dynamic>["bar"]; 6 static field core::List<core::String> stringList;
7 static method asyncString() → asy::Future<core::String> async { 7 static method asyncString() → asy::Future<core::String> async
8 return "foo"; 8 ;
9 } 9 static method asyncString2() → asy::Future<core::String> async
10 static method asyncString2() → asy::Future<core::String> async { 10 ;
11 return self::asyncString(); 11 static method syncStarString() → core::Iterable<core::String> sync*
12 } 12 ;
13 static method syncStarString() → core::Iterable<core::String> sync* { 13 static method syncStarString2() → core::Iterable<core::String> sync*
14 yield "foo"; 14 ;
15 yield* self::syncStarString2(); 15 static method asyncStarString() → asy::Stream<core::String> async*
16 yield* self::stringList; 16 ;
17 } 17 static method asyncStarString2() → asy::Stream<core::String> async*
18 static method syncStarString2() → core::Iterable<core::String> sync* { 18 ;
19 yield "foo"; 19 static method main() → dynamic async
20 } 20 ;
21 static method asyncStarString() → asy::Stream<core::String> async* {
22 yield "foo";
23 yield* self::asyncStarString2();
24 yield await self::asyncString();
25 }
26 static method asyncStarString2() → asy::Stream<core::String> async* {
27 yield "bar";
28 }
29 static method main() → dynamic async {
30 core::String str = await self::asyncString();
31 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/async_function.dart.direct.expect ('k') | pkg/front_end/testcases/async_function.dart.strong.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698