c1160d8cfa
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>
30 lines
1013 B
Plaintext
30 lines
1013 B
Plaintext
library test;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
abstract class A extends core::Object {
|
|
synthetic constructor •() → void
|
|
: super core::Object::•()
|
|
;
|
|
abstract method f(core::int x, core::int y) → core::int;
|
|
abstract method g(core::int x, [core::int y = null]) → core::int;
|
|
abstract method h(core::int x, {core::int y = null}) → core::int;
|
|
}
|
|
abstract class B extends core::Object {
|
|
synthetic constructor •() → void
|
|
: super core::Object::•()
|
|
;
|
|
abstract method f(core::int x) → core::int;
|
|
abstract method g(core::int x) → core::int;
|
|
abstract method h(core::int x) → core::int;
|
|
}
|
|
abstract class C extends core::Object implements self::A, self::B {
|
|
synthetic constructor •() → void
|
|
: super core::Object::•()
|
|
;
|
|
abstract method f(dynamic x, dynamic y) → dynamic;
|
|
abstract method g(dynamic x, [dynamic y = null]) → dynamic;
|
|
abstract method h(dynamic x, {dynamic y = null}) → dynamic;
|
|
}
|
|
static method main() → dynamic {}
|