blob: 51204022679ba907af9978bfaf599285a6df4609 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class Foo extends core::Object {
field core::List<dynamic> list = <core::int>[1, 2, 3];
constructor •() → void
: super core::Object::•()
;
set first(dynamic x) → void
this.{self::Foo::list}.{core::List::[]=$cc}(0, x);
operator []=(dynamic x, dynamic y) → dynamic
this.{self::Foo::list}.{core::List::[]=$cc}(x as core::int, y);
method clear() → void
this.{self::Foo::list}.{core::List::clear}();
}
static method main() → dynamic {
new self::Foo::•().{self::Foo::first} = 4;
new self::Foo::•().{self::Foo::[]=}(3, 4);
new self::Foo::•().{self::Foo::clear}();
}