Files
sdk/pkg/front_end/testcases/void_methods.dart.strong.expect
T
Jens Johansen c1160d8cfa [kernel] Change ast to text output to use synthetic instead of default
Change-Id: Ied8777df13aa0411daf89f3ad3ec6bdda7bb4898
Reviewed-on: https://dart-review.googlesource.com/35862
Reviewed-by: Kevin Millikin <kmillikin@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2018-01-19 09:58:46 +00:00

22 lines
613 B
Plaintext

library;
import self as self;
import "dart:core" as core;
class Foo extends core::Object {
field core::List<dynamic> list = <dynamic>[1, 2, 3];
synthetic constructor •() → void
: super core::Object::•()
;
set first(dynamic x) → void
this.list.[]=(0, x);
operator []=(dynamic x, dynamic y) → void
this.list.[]=(x, y);
method clear() → void
return 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}();
}