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 C extends core::Object { | 5 class C extends core::Object { |
6 constructor •() → void | 6 constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 method f() → core::int | 9 method f() → core::int |
10 return null; | 10 return null; |
11 } | 11 } |
12 static method g(self::C c) → dynamic { | 12 static method g(self::C c) → dynamic { |
13 dynamic x = let final self::C #t1 = c in #t1.==(null) ?{dynamic} null : #t1.f(
); | 13 dynamic x = let final dynamic #t1 = c in #t1.==(null) ? null : #t1.f(); |
14 } | 14 } |
15 static method main() → dynamic {} | 15 static method main() → dynamic {} |
OLD | NEW |