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 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 { |
(...skipping 12 matching lines...) Expand all Loading... |
23 class C extends self::B { | 23 class C extends self::B { |
24 constructor •() → void | 24 constructor •() → void |
25 : super self::B::•() | 25 : super self::B::•() |
26 ; | 26 ; |
27 } | 27 } |
28 static method f<T extends core::Object>() → self::f::T | 28 static method f<T extends core::Object>() → self::f::T |
29 return null; | 29 return null; |
30 static method test() → void { | 30 static method test() → void { |
31 self::B local; | 31 self::B local; |
32 local = self::f<dynamic>(); | 32 local = self::f<dynamic>(); |
33 local.==(null) ?{dynamic} local = self::f<dynamic>() : null; | 33 local.==(null) ? local = self::f<dynamic>() : null; |
34 local = local.+(self::f<dynamic>()); | 34 local = local.+(self::f<dynamic>()); |
35 local = local.*(self::f<dynamic>()); | 35 local = local.*(self::f<dynamic>()); |
36 local = local.&(self::f<dynamic>()); | 36 local = local.&(self::f<dynamic>()); |
37 local = local.-(1); | 37 local = local.-(1); |
38 local = local.-(1); | 38 local = local.-(1); |
39 dynamic v1 = local = self::f<dynamic>(); | 39 dynamic v1 = local = self::f<dynamic>(); |
40 dynamic v2 = let final dynamic #t1 = local in #t1.==(null) ?{dynamic} local =
self::f<dynamic>() : #t1; | 40 dynamic v2 = let final dynamic #t1 = local in #t1.==(null) ? local = self::f<d
ynamic>() : #t1; |
41 dynamic v3 = local = local.+(self::f<dynamic>()); | 41 dynamic v3 = local = local.+(self::f<dynamic>()); |
42 dynamic v4 = local = local.*(self::f<dynamic>()); | 42 dynamic v4 = local = local.*(self::f<dynamic>()); |
43 dynamic v5 = local = local.&(self::f<dynamic>()); | 43 dynamic v5 = local = local.&(self::f<dynamic>()); |
44 dynamic v6 = local = local.-(1); | 44 dynamic v6 = local = local.-(1); |
45 dynamic v7 = let final dynamic #t2 = local in let final dynamic #t3 = local =
#t2.-(1) in #t2; | 45 dynamic v7 = let final dynamic #t2 = local in let final dynamic #t3 = local =
#t2.-(1) in #t2; |
46 } | 46 } |
47 static method main() → dynamic {} | 47 static method main() → dynamic {} |
OLD | NEW |