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 static field dynamic _redirecting# = <dynamic>[self::A::foo]; | 7 static field dynamic _redirecting# = <dynamic>[self::A::foo]; |
8 constructor •() → void | 8 constructor •() → void |
9 : super core::Object::•() {} | 9 : super core::Object::•() {} |
10 static factory foo() → self::A | 10 static factory foo() → self::A |
(...skipping 15 matching lines...) Expand all Loading... |
26 : super self::C::•() | 26 : super self::C::•() |
27 ; | 27 ; |
28 method m() → core::int { | 28 method m() → core::int { |
29 return 2; | 29 return 2; |
30 } | 30 } |
31 } | 31 } |
32 static method main() → dynamic { | 32 static method main() → dynamic { |
33 self::A a = self::C::bar(); | 33 self::A a = self::C::bar(); |
34 exp::Expect::equals(2, a.m(), null); | 34 exp::Expect::equals(2, a.m(), null); |
35 } | 35 } |
OLD | NEW |