OLD | NEW |
1 library test; | 1 library test; |
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 class A extends core::Object { | 5 class A extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 } | 9 } |
10 class B extends self::A { | 10 class B extends self::A { |
11 constructor •() → void | 11 default constructor •() → void |
12 : super self::A::•() | 12 : super self::A::•() |
13 ; | 13 ; |
14 } | 14 } |
15 class Foo<T extends self::A> extends core::Object { | 15 class Foo<T extends self::A> extends core::Object { |
16 constructor •() → void | 16 default constructor •() → void |
17 : super core::Object::•() | 17 : super core::Object::•() |
18 ; | 18 ; |
19 } | 19 } |
20 static method main() → void { | 20 static method main() → void { |
21 self::Foo<self::B> foo = new self::Foo::•<self::B>(); | 21 self::Foo<self::B> foo = new self::Foo::•<self::B>(); |
22 } | 22 } |
OLD | NEW |