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

Side by Side Diff: pkg/front_end/testcases/override.dart.direct.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:core" as core; 3 import "dart:core" as core;
4 4
5 class Foo extends core::Object { 5 class Foo extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class Bar extends self::Foo { 10 class Bar extends self::Foo {
(...skipping 15 matching lines...) Expand all
26 ; 26 ;
27 method method() → self::Foo { 27 method method() → self::Foo {
28 return new self::Bar::•(); 28 return new self::Bar::•();
29 } 29 }
30 } 30 }
31 static method main(core::List<core::String> args) → dynamic { 31 static method main(core::List<core::String> args) → dynamic {
32 dynamic object = args.length.==(0) ? new self::Base::•() : new self::Sub::•(); 32 dynamic object = args.length.==(0) ? new self::Base::•() : new self::Sub::•();
33 dynamic a = object.method(); 33 dynamic a = object.method();
34 core::print(a); 34 core::print(a);
35 } 35 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/override.dart ('k') | pkg/front_end/testcases/override.dart.outline.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698