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 import "package:expect/expect.dart" as exp; | 4 import "package:expect/expect.dart" as exp; |
5 | 5 |
6 class A<N extends core::Object, S extends core::Object, U extends core::Object>
extends core::Object { | 6 class A<N extends core::Object, S extends core::Object, U extends core::Object>
extends core::Object { |
7 final field core::List<self::A::U> field; | 7 final field core::List<self::A::U> field; |
8 constructor •(self::A::N n, self::A::S s) → dynamic | 8 constructor •(self::A::N n, self::A::S s) → dynamic |
9 : self::A::field = core::List::•<self::A::U>(), super core::Object::•() { | 9 : self::A::field = core::List::•<self::A::U>(), super core::Object::•() { |
10 exp::Expect::isTrue(n is self::A::N); | 10 exp::Expect::isTrue(n is self::A::N); |
(...skipping 21 matching lines...) Expand all Loading... |
32 constructor •() → self::I<self::I::H, self::I::C, self::I::K> | 32 constructor •() → self::I<self::I::H, self::I::C, self::I::K> |
33 : super self::J::•(); | 33 : super self::J::•(); |
34 } | 34 } |
35 static method main() → dynamic { | 35 static method main() → dynamic { |
36 new self::A::•<core::num, core::double, core::List<dynamic>>(1, 2.0); | 36 new self::A::•<core::num, core::double, core::List<dynamic>>(1, 2.0); |
37 self::A<dynamic, dynamic, dynamic> a = self::A::f<core::int, core::int, core::
int>(1); | 37 self::A<dynamic, dynamic, dynamic> a = self::A::f<core::int, core::int, core::
int>(1); |
38 const self::A::c<core::int, core::int, core::List<dynamic>>(const <dynamic>[],
1); | 38 const self::A::c<core::int, core::int, core::List<dynamic>>(const <dynamic>[],
1); |
39 dynamic z = a.getter; | 39 dynamic z = a.getter; |
40 a.setter = 1; | 40 a.setter = 1; |
41 } | 41 } |
OLD | NEW |