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

Side by Side Diff: pkg/front_end/test/fasta/rasta/issue_000067.dart.dartk.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 import "package:expect/expect.dart" as exp;
5
6 class A extends core::Object {
7 constructor •() → dynamic
8 : super core::Object::•() {}
9 static factory foo() → self::A
10 invalid-statement;
11 method m() → core::int {}
12 }
13 class C extends self::A {
14 constructor •() → dynamic
15 : super self::A::•() {}
16 static factory bar() → self::C
17 invalid-statement;
18 method m() → core::int {
19 return 1;
20 }
21 }
22 class D extends self::C {
23 constructor •() → self::D
24 : super self::C::•();
25 method m() → core::int {
26 return 2;
27 }
28 }
29 static method main() → dynamic {
30 self::A a = new self::D::•();
31 exp::Expect::equals(2, a.m());
32 }
OLDNEW
« no previous file with comments | « pkg/front_end/test/fasta/rasta/issue_000067.dart ('k') | pkg/front_end/test/fasta/rasta/issue_000067.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698