| OLD | NEW |
| 1 library; | 1 library; |
| 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 Foo extends core::Object { | 5 class Foo extends core::Object { |
| 6 field core::List<dynamic> list = <dynamic>[1, 2, 3]; | 6 field core::List<dynamic> list = <dynamic>[1, 2, 3]; |
| 7 constructor •() → void | 7 constructor •() → void |
| 8 : super core::Object::•() | 8 : super core::Object::•() |
| 9 ; | 9 ; |
| 10 set first(dynamic x) → void | 10 set first(dynamic x) → void |
| 11 this.{self::Foo::list}.{core::List::[]=$cc}(0, x); | 11 this.{self::Foo::list}.{core::List::[]=$cc}(0, x); |
| 12 operator []=(dynamic x, dynamic y) → dynamic | 12 operator []=(dynamic x, dynamic y) → dynamic |
| 13 this.{self::Foo::list}.{core::List::[]=$cc}(x as core::int, y); | 13 this.{self::Foo::list}.{core::List::[]=$cc}(x as core::int, y); |
| 14 method clear() → void | 14 method clear() → void |
| 15 this.{self::Foo::list}.{core::List::clear}(); | 15 this.{self::Foo::list}.{core::List::clear}(); |
| 16 } | 16 } |
| 17 static method main() → dynamic { | 17 static method main() → dynamic { |
| 18 new self::Foo::•().{self::Foo::first} = 4; | 18 new self::Foo::•().{self::Foo::first} = 4; |
| 19 new self::Foo::•().{self::Foo::[]=}(3, 4); | 19 new self::Foo::•().{self::Foo::[]=}(3, 4); |
| 20 new self::Foo::•().{self::Foo::clear}(); | 20 new self::Foo::•().{self::Foo::clear}(); |
| 21 } | 21 } |
| OLD | NEW |