blob: 7f42fe580dc53a3852e56e3d42b0046f53b5dede [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class A extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
method foo(core::int x) dynamic
return x;
}
class B extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
method foo(core::int x, {core::int y = null}) dynamic
return y;
}
class C extends self::A implements self::B {
synthetic constructor •() void
: super self::A::•()
;
method noSuchMethod(dynamic i) dynamic {
core::print("No such method!");
return 42;
}
}
class D extends core::Object {
synthetic constructor •() void
: super core::Object::•()
;
method foo(core::int x) dynamic
return x;
}
class E extends self::D {
synthetic constructor •() void
: super self::D::•()
;
abstract method foo(core::int x, {core::int y = null}) dynamic;
method noSuchMethod(dynamic i) dynamic {
core::print(i.namedArguments);
return 42;
}
}
static method main() dynamic {
self::C c = new self::C::•();
self::E e = new self::E::•();
}