| OLD | NEW |
| (Empty) | |
| 1 library; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class Foo extends core::Object { |
| 6 field core::int/core::int* {null,int} field = null; |
| 7 static field core::int/core::int* {null,int} staticField = null; |
| 8 constructor •() → void |
| 9 : super core::Object::•() |
| 10 ; |
| 11 } |
| 12 static method main() → dynamic/Null { |
| 13 self::Foo/self::Foo! {other} foo = new self::Foo::•(); |
| 14 let final dynamic/<missing type> #t1 = foo in #t1.==(null) ? null : #t1.field
= 5; |
| 15 self::Foo::staticField = 5; |
| 16 let final dynamic/<missing type> #t2 = foo in #t2.field.==(null) ? #t2.field =
5 : null; |
| 17 self::Foo::staticField.==(null) ? self::Foo::staticField = 5 : null; |
| 18 let final dynamic/<missing type> #t3 = foo in #t3.==(null) ? null : #t3.field.
==(null) ? #t3.field = 5 : null; |
| 19 self::Foo::staticField.==(null) ? self::Foo::staticField = 5 : null; |
| 20 core::int/core::int* {null,int} intValue = let final dynamic/<missing type> #t
4 = foo.field in #t4.==(null) ? 6 : #t4; |
| 21 core::num/core::num* {null,int,double} numValue = let final dynamic/<missing t
ype> #t5 = foo.field in #t5.==(null) ? 4.5 : #t5; |
| 22 } |
| OLD | NEW |