Files
sdk/pkg/front_end/testcases/argument.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

38 lines
941 B
Plaintext

library;
import self as self;
import "dart:core" as core;
abstract class Base extends core::Object {
synthetic constructor •() → void
: super core::Object::•()
;
}
class Foo extends self::Base {
synthetic constructor •() → void
: super self::Base::•()
;
}
class Bar extends self::Base {
synthetic constructor •() → void
: super self::Base::•()
;
}
class Baz extends self::Base {
synthetic constructor •() → void
: super self::Base::•()
;
}
static method foo(dynamic x) → void {}
static method bar(dynamic x) → void {}
static method foo_escaped(dynamic x) → void {}
static method bar_escaped(dynamic x) → void {}
static method escape(dynamic fn) → void {
fn.call(new self::Baz::•());
}
static method main() → dynamic {
self::foo(new self::Foo::•());
self::bar(new self::Bar::•());
self::escape(self::foo_escaped);
self::escape(self::bar_escaped);
}