| OLD | NEW |
| (Empty) |
| 1 library; | |
| 2 import self as self; | |
| 3 import "dart:core" as core; | |
| 4 import "package:expect/expect.dart" as exp; | |
| 5 import "dart:typed_data" as typ; | |
| 6 | |
| 7 class Foo extends core::Object { | |
| 8 final field dynamic value; | |
| 9 constructor •(dynamic value) → dynamic | |
| 10 : self::Foo::value = value, super core::Object::•() {} | |
| 11 static factory fac(dynamic value) → self::Foo { | |
| 12 return new self::Foo::•(value); | |
| 13 } | |
| 14 } | |
| 15 static field dynamic list = <dynamic>[1, 2, 3]; | |
| 16 static method main() → dynamic { | |
| 17 exp::Expect::isTrue(typ::Uint8List::fromList(self::list).[](1).==(2)); | |
| 18 exp::Expect::isTrue(self::Foo::fac(10).value.==(10)); | |
| 19 } | |
| OLD | NEW |