| OLD | NEW |
| (Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 static method test1() → dynamic { |
| 6 core::Map<core::int, core::String> x = <core::int, core::String>{1: "x", 2: "y
"}; |
| 7 x.{core::Map::[]=}(3, "z"); |
| 8 x.{core::Map::[]=}("hi", "w"); |
| 9 x.{core::Map::[]=}(4.0, "u"); |
| 10 x.{core::Map::[]=}(3, 42); |
| 11 core::Map<core::num, core::String> y = x; |
| 12 } |
| 13 static method test2() → dynamic { |
| 14 core::Map<core::num, core::Pattern> x = <core::num, core::Pattern>{1: "x", 2:
"y", 3.0: core::RegExp::•(".")}; |
| 15 x.{core::Map::[]=}(3, "z"); |
| 16 x.{core::Map::[]=}("hi", "w"); |
| 17 x.{core::Map::[]=}(4.0, "u"); |
| 18 x.{core::Map::[]=}(3, 42); |
| 19 core::Pattern p = null; |
| 20 x.{core::Map::[]=}(2, p); |
| 21 core::Map<core::int, core::String> y = x; |
| 22 } |
| 23 static method main() → dynamic {} |
| OLD | NEW |