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 static field core::bool b = true; | 5 static field core::bool b = true; |
6 static field core::int x = 0; | 6 static field core::int x = 0; |
7 static field core::double y = 0.0; | 7 static field core::double y = 0.0; |
8 static field dynamic z = self::b ?{core::num} self::x : self::y; | 8 static field dynamic z = self::b ? self::x : self::y; |
9 static method main() → dynamic { | 9 static method main() → dynamic { |
10 dynamic z = self::b ?{core::num} self::x : self::y; | 10 dynamic z = self::b ? self::x : self::y; |
11 } | 11 } |
OLD | NEW |