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<T extends core::Object> extends core::Object { | 5 class A<T extends core::Object> extends core::Object { |
6 field core::List<self::A::T> x = null; | 6 field core::List<self::A::T> x = null; |
7 constructor •() → void | 7 default constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 set y(core::List<self::A::T> value) → void {} | 10 set y(core::List<self::A::T> value) → void {} |
11 } | 11 } |
12 static method main() → dynamic { | 12 static method main() → dynamic { |
13 self::A<core::int> a_int = new self::A::•<core::int>(); | 13 self::A<core::int> a_int = new self::A::•<core::int>(); |
14 self::A<core::Object> a_object = new self::A::•<core::Object>(); | 14 self::A<core::Object> a_object = new self::A::•<core::Object>(); |
15 self::A<dynamic> a_dynamic = new self::A::•<dynamic>(); | 15 self::A<dynamic> a_dynamic = new self::A::•<dynamic>(); |
16 dynamic x_int = a_int.x = <dynamic>[0]; | 16 dynamic x_int = a_int.x = <dynamic>[0]; |
17 dynamic y_int = a_int.y = <dynamic>[0]; | 17 dynamic y_int = a_int.y = <dynamic>[0]; |
18 dynamic x_object = a_object.x = <dynamic>[0]; | 18 dynamic x_object = a_object.x = <dynamic>[0]; |
19 dynamic y_object = a_object.y = <dynamic>[0]; | 19 dynamic y_object = a_object.y = <dynamic>[0]; |
20 dynamic x_dynamic = a_dynamic.x = <dynamic>[0]; | 20 dynamic x_dynamic = a_dynamic.x = <dynamic>[0]; |
21 dynamic y_dynamic = a_dynamic.y = <dynamic>[0]; | 21 dynamic y_dynamic = a_dynamic.y = <dynamic>[0]; |
22 dynamic x_int_explicit = a_int.x = <core::int>[0]; | 22 dynamic x_int_explicit = a_int.x = <core::int>[0]; |
23 dynamic y_int_explicit = a_int.y = <core::int>[0]; | 23 dynamic y_int_explicit = a_int.y = <core::int>[0]; |
24 dynamic x_object_explicit = a_object.x = <core::int>[0]; | 24 dynamic x_object_explicit = a_object.x = <core::int>[0]; |
25 dynamic y_object_explicit = a_object.y = <core::int>[0]; | 25 dynamic y_object_explicit = a_object.y = <core::int>[0]; |
26 dynamic x_dynamic_explicit = a_dynamic.x = <core::int>[0]; | 26 dynamic x_dynamic_explicit = a_dynamic.x = <core::int>[0]; |
27 dynamic y_dynamic_explicit = a_dynamic.y = <core::int>[0]; | 27 dynamic y_dynamic_explicit = a_dynamic.y = <core::int>[0]; |
28 core::List<core::int> x_int_downward = a_int.x = <dynamic>[0]; | 28 core::List<core::int> x_int_downward = a_int.x = <dynamic>[0]; |
29 core::List<core::int> y_int_downward = a_int.y = <dynamic>[0]; | 29 core::List<core::int> y_int_downward = a_int.y = <dynamic>[0]; |
30 core::List<core::int> x_object_downward = a_object.x = <dynamic>[0]; | 30 core::List<core::int> x_object_downward = a_object.x = <dynamic>[0]; |
31 core::List<core::int> y_object_downward = a_object.y = <dynamic>[0]; | 31 core::List<core::int> y_object_downward = a_object.y = <dynamic>[0]; |
32 core::List<core::int> x_dynamic_downward = a_dynamic.x = <dynamic>[0]; | 32 core::List<core::int> x_dynamic_downward = a_dynamic.x = <dynamic>[0]; |
33 core::List<core::int> y_dynamic_downward = a_dynamic.y = <dynamic>[0]; | 33 core::List<core::int> y_dynamic_downward = a_dynamic.y = <dynamic>[0]; |
34 } | 34 } |
OLD | NEW |