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

Side by Side Diff: pkg/front_end/testcases/classes.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 A extends core::Object { 5 class A extends core::Object {
6 final field core::int x; 6 final field core::int x;
7 final field core::int y; 7 final field core::int y;
8 constructor •(dynamic y) → void 8 constructor •(dynamic y) → void
9 : self::A::y = y, self::A::x = 42, super core::Object::•() 9 : self::A::y = y, self::A::x = 42, super core::Object::•()
10 ; 10 ;
(...skipping 11 matching lines...) Expand all
22 core::print("B.method x: ${this.x} y: ${this.y}"); 22 core::print("B.method x: ${this.x} y: ${this.y}");
23 this.{=self::A::method}(); 23 this.{=self::A::method}();
24 } 24 }
25 } 25 }
26 static method main() → dynamic { 26 static method main() → dynamic {
27 self::A a = new self::A::•(87); 27 self::A a = new self::A::•(87);
28 self::B b = new self::B::•(117); 28 self::B b = new self::B::•(117);
29 a.method(); 29 a.method();
30 b.method(); 30 b.method();
31 } 31 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/classes.dart ('k') | pkg/front_end/testcases/classes.dart.outline.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698