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 | 4 |
5 class Base extends core::Object { | 5 class Base extends core::Object { |
6 field core::int hashCode = 42; | 6 field core::int hashCode = 42; |
7 default constructor •() → void | 7 default constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
11 class Sub extends self::Base { | 11 class Sub extends self::Base { |
12 field core::int _hashCode = null; | 12 field core::int _hashCode = null; |
13 default constructor •() → void | 13 default constructor •() → void |
14 : super self::Base::•() | 14 : super self::Base::•() |
15 ; | 15 ; |
16 get hashCode() → dynamic | 16 get hashCode() → dynamic |
17 return let final dynamic #t1 = this._hashCode in #t1.==(null) ? this._hashCo
de = this.{=self::Base::hashCode} : #t1; | 17 return let final dynamic #t1 = this._hashCode in #t1.==(null) ? this._hashCo
de = super.{self::Base::hashCode} : #t1; |
18 method foo() → dynamic { | 18 method foo() → dynamic { |
19 this._hashCode.==(null) ? this._hashCode = this.{=self::Base::hashCode} : nu
ll; | 19 this._hashCode.==(null) ? this._hashCode = super.{self::Base::hashCode} : nu
ll; |
20 } | 20 } |
21 } | 21 } |
22 static method main() → dynamic { | 22 static method main() → dynamic { |
23 core::print(new self::Sub::•().hashCode); | 23 core::print(new self::Sub::•().hashCode); |
24 dynamic l = <dynamic>[null]; | 24 dynamic l = <dynamic>[null]; |
25 let final dynamic #t2 = l in let final dynamic #t3 = 0 in #t2.[](#t3).==(null)
? #t2.[]=(#t3, "fisk") : null; | 25 let final dynamic #t2 = l in let final dynamic #t3 = 0 in #t2.[](#t3).==(null)
? #t2.[]=(#t3, "fisk") : null; |
26 } | 26 } |
OLD | NEW |