OLD | NEW |
---|---|
(Empty) | |
1 library test; | |
2 import self as self; | |
3 import "dart:core" as core; | |
4 | |
5 class C extends core::Object { | |
6 field core::int x = null; | |
7 constructor •() → void | |
8 : super core::Object::•() | |
9 ; | |
10 } | |
11 static method f(self::C c) → void { | |
12 core::int x = let final dynamic #t1 = c in #t1.==(null) ? null : #t1.{self::C: :x}; | |
Siggi Cherem (dart-lang)
2017/06/19 21:47:43
unrelated to this CL, but I noticed the `let dynam
Paul Berry
2017/06/19 22:06:53
Good point. I'll address this in a follow up CL.
| |
13 } | |
14 static method main() → dynamic {} | |
OLD | NEW |