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

Side by Side Diff: pkg/front_end/test/fasta/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
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4
5 class A extends core::Object {
6 final field core::int x;
7 final field core::int y;
8 constructor •(dynamic y) → void
9 : self::A::y = y, self::A::x = 42, super core::Object::•()
10 ;
11 method method() → dynamic {
12 core::print("A.method x: ${this.x} y: ${this.y}");
13 core::print(this);
14 core::print(this.runtimeType);
15 }
16 }
17 class B extends self::A {
18 constructor •(dynamic x) → void
19 : super self::A::•(x)
20 ;
21 method method() → dynamic {
22 core::print("B.method x: ${this.x} y: ${this.y}");
23 this.{=self::A::method}();
24 }
25 }
26 static method main() → dynamic {
27 self::A a = new self::A::•(87);
28 self::B b = new self::B::•(117);
29 a.method();
30 b.method();
31 }
OLDNEW
« no previous file with comments | « pkg/front_end/test/fasta/classes.dart ('k') | pkg/front_end/test/fasta/classes.dart.outline.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698