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 field self::B<core::int> b = null; | 6 field self::B<core::int> b = null; |
7 constructor •() → void | 7 constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
11 class B<T extends core::Object> extends core::Object { | 11 class B<T extends core::Object> extends core::Object { |
12 constructor •(self::B::T x) → void | 12 constructor •(self::B::T x) → void |
13 : super core::Object::•() | 13 : super core::Object::•() |
14 ; | 14 ; |
15 } | 15 } |
16 static field self::A t1 = let final self::A #t1 = new self::A::•() in let final
dynamic #t2 = #t1.{self::A::b} = new self::B::•<core::int>(1) in #t1; | 16 static field core::List<self::B<core::int>> t3 = <self::B<core::int>>[new self::
B::•<core::int>(3)]; |
17 static field core::List<self::B<core::int>> t2 = <self::B<core::int>>[new self::
B::•<core::int>(2)]; | |
18 static field core::List<self::B<dynamic>> t3 = <self::B<dynamic>>[new self::B::•
<dynamic>(3)]; | |
19 static method main() → dynamic {} | 17 static method main() → dynamic {} |
OLD | NEW |