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

Side by Side Diff: pkg/front_end/testcases/implicit_this.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 C extends core::Object { 5 class C extends core::Object {
6 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 method m() → dynamic { 9 method m() → dynamic {
10 core::print("Called m"); 10 core::print("Called m");
11 } 11 }
12 method testC() → dynamic { 12 method testC() → dynamic {
13 this.m(); 13 this.m();
14 } 14 }
15 } 15 }
16 class D extends self::C { 16 class D extends self::C {
17 constructor •() → void 17 constructor •() → void
18 : super self::C::•() 18 : super self::C::•()
19 ; 19 ;
20 method testD() → dynamic { 20 method testD() → dynamic {
21 this.m(); 21 this.m();
22 } 22 }
23 } 23 }
24 static method main() → dynamic { 24 static method main() → dynamic {
25 new self::C::•().testC(); 25 new self::C::•().testC();
26 new self::D::•().testD(); 26 new self::D::•().testD();
27 } 27 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/implicit_this.dart ('k') | pkg/front_end/testcases/implicit_this.dart.outline.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698