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