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

Side by Side Diff: pkg/kernel/testcases/strong-mode/closure.baseline.txt

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
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4
5 class Foo extends core::Object {
6 field self::Bar _field = new self::Bar::•();
7 constructor •() → void
8 : super core::Object::•()
9 ;
10 }
11 class Bar extends core::Object {
12 constructor •() → void
13 : super core::Object::•()
14 ;
15 }
16 static method useCallback(dynamic callback) → dynamic {
17 dynamic _ = callback.call();
18 }
19 static method main() → dynamic {
20 dynamic x;
21 function inner() → dynamic {
22 x = new self::Foo::•();
23 return new self::Foo::•();
24 }
25 self::useCallback(inner);
26 self::Bar _ = inner.call().{self::Foo::_field};
27 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/strong-mode/call.baseline.txt ('k') | pkg/kernel/testcases/strong-mode/covariant_generic.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698