OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class A extends core::Object { |
| 6 constructor •() → void |
| 7 : super core::Object::•() |
| 8 ; |
| 9 } |
| 10 class B extends self::A { |
| 11 constructor •() → void |
| 12 : super self::A::•() |
| 13 ; |
| 14 operator +(self::C v) → self::A |
| 15 return null; |
| 16 operator -(core::int i) → self::B |
| 17 return null; |
| 18 operator *(self::B v) → self::B |
| 19 return null; |
| 20 operator &(self::A v) → self::C |
| 21 return null; |
| 22 } |
| 23 class C extends self::B { |
| 24 constructor •() → void |
| 25 : super self::B::•() |
| 26 ; |
| 27 } |
| 28 static method f() → dynamic |
| 29 return null; |
| 30 static method test() → void { |
| 31 self::B local; |
| 32 local = self::f(); |
| 33 local.==(null) ? local = self::f() : null; |
| 34 local = local.+(self::f()); |
| 35 local = local.*(self::f()); |
| 36 local = local.&(self::f()); |
| 37 local = local.-(1); |
| 38 local = local.-(1); |
| 39 dynamic v1 = local = self::f(); |
| 40 dynamic v2 = let final dynamic #t1 = local in #t1.==(null) ? local = self::f()
: #t1; |
| 41 dynamic v3 = local = local.+(self::f()); |
| 42 dynamic v4 = local = local.*(self::f()); |
| 43 dynamic v5 = local = local.&(self::f()); |
| 44 dynamic v6 = local = local.-(1); |
| 45 dynamic v7 = let final dynamic #t2 = local in let final dynamic #t3 = local =
#t2.-(1) in #t2; |
| 46 } |
| 47 static method main() → dynamic {} |
OLD | NEW |