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 C<T extends core::Object> extends core::Object { | 5 class C<T extends core::Object> extends core::Object { |
6 constructor •(core::List<self::C::T> x) → void | 6 constructor •(core::List<self::C::T> x) → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 } | 9 } |
10 static method main() → dynamic { | 10 static method main() → dynamic { |
11 core::bool b = false; | 11 core::bool b = false; |
12 core::List<core::int> l1 = <dynamic>[1]; | 12 core::List<core::int> l1 = <dynamic>[1]; |
13 core::List<core::int> l2 = <dynamic>[2]; | 13 core::List<core::int> l2 = <dynamic>[2]; |
14 dynamic x = new self::C::•<dynamic>(l1); | 14 dynamic x = new self::C::•<dynamic>(l1); |
15 dynamic y = new self::C::•<dynamic>(l2); | 15 dynamic y = new self::C::•<dynamic>(l2); |
16 dynamic z = new self::C::•<dynamic>(b ?{core::List<core::int>} l1 : l2); | 16 dynamic z = new self::C::•<dynamic>(b ? l1 : l2); |
17 } | 17 } |
OLD | NEW |