dart-sdk/pkg/front_end/testcases/void_methods.dart.direct.expect
Peter von der Ahé 893b4d4fe9 Add missing copyright on test cases.
Also rename void-methods.dart to void_methods.dart.

R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/3006963002 .
2017-08-31 13:09:20 +02:00

22 lines
551 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];
default constructor •() → void
: super core::Object::•()
;
set first(dynamic x) → dynamic
this.list.[]=(0, x);
operator []=(dynamic x, dynamic y) → dynamic
this.list.[]=(x, y);
method clear() → void
return this.list.clear();
}
static method main() → dynamic {
new self::Foo::•().first = 4;
new self::Foo::•().[]=(3, 4);
new self::Foo::•().clear();
}