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