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 | 4 |
5 abstract class A extends core::Object { | 5 abstract class A extends core::Object { |
6 constructor •() → void | 6 constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 } | 9 } |
10 abstract class B extends core::Object { | 10 abstract class B extends core::Object { |
(...skipping 22 matching lines...) Expand all Loading... |
33 ; | 33 ; |
34 } | 34 } |
35 static method takeSubclassOfA(dynamic obj) → dynamic {} | 35 static method takeSubclassOfA(dynamic obj) → dynamic {} |
36 static method takeSubclassOfB(dynamic obj) → dynamic {} | 36 static method takeSubclassOfB(dynamic obj) → dynamic {} |
37 static method main() → dynamic { | 37 static method main() → dynamic { |
38 self::takeSubclassOfA(new self::AB1::•()); | 38 self::takeSubclassOfA(new self::AB1::•()); |
39 self::takeSubclassOfA(new self::AB2::•()); | 39 self::takeSubclassOfA(new self::AB2::•()); |
40 self::takeSubclassOfB(new self::BA1::•()); | 40 self::takeSubclassOfB(new self::BA1::•()); |
41 self::takeSubclassOfB(new self::BA2::•()); | 41 self::takeSubclassOfB(new self::BA2::•()); |
42 } | 42 } |
OLD | NEW |