OLD | NEW |
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; | 4 import "package:expect/expect.dart" as exp; |
5 | 5 |
6 class A extends core::Object { | 6 class A extends core::Object { |
7 constructor •() → dynamic | 7 constructor •() → dynamic |
8 : super core::Object::•() {} | 8 : super core::Object::•() {} |
9 static factory foo() → self::A | 9 static factory foo() → self::A |
10 invalid-statement; | 10 invalid-statement; |
(...skipping 12 matching lines...) Expand all Loading... |
23 constructor •() → self::D | 23 constructor •() → self::D |
24 : super self::C::•(); | 24 : super self::C::•(); |
25 method m() → core::int { | 25 method m() → core::int { |
26 return 2; | 26 return 2; |
27 } | 27 } |
28 } | 28 } |
29 static method main() → dynamic { | 29 static method main() → dynamic { |
30 self::A a = new self::D::•(); | 30 self::A a = new self::D::•(); |
31 exp::Expect::equals(2, a.m()); | 31 exp::Expect::equals(2, a.m()); |
32 } | 32 } |
OLD | NEW |