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

Side by Side Diff: pkg/front_end/test/fasta/rasta/issue_000067.dart.outline.expect

Issue 2662703002: Update rasta outline expectations. (Closed)
Patch Set: Rebased on 0401b897958de33f8481b9cb323eab53106a3ce9. Created 3 years, 10 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 import "package:expect/expect.dart" as exp;
5 4
6 class A extends core::Object { 5 class A extends core::Object {
7 constructor •() → dynamic 6 constructor •() → void
8 : super core::Object::•() {} 7 ;
8 method m() → core::int
9 ;
9 static factory foo() → self::A 10 static factory foo() → self::A
10 invalid-statement; 11 invalid-statement;
11 method m() → core::int {}
12 } 12 }
13 class C extends self::A { 13 class C extends self::A {
14 constructor •() → dynamic 14 constructor •() → void
15 : super self::A::•() {} 15 ;
16 method m() → core::int
17 ;
16 static factory bar() → self::C 18 static factory bar() → self::C
17 invalid-statement; 19 throw "Missing constructor: D";
18 method m() → core::int {
19 return 1;
20 }
21 } 20 }
22 class D extends self::C { 21 class D extends self::C {
23 constructor •() → self::D 22 constructor •() → void
24 : super self::C::•(); 23 ;
25 method m() → core::int { 24 method m() → core::int
26 return 2; 25 ;
27 }
28 } 26 }
29 static method main() → dynamic { 27 static method main() → dynamic
30 self::A a = new self::D::•(); 28 ;
31 exp::Expect::equals(2, a.m());
32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698