blob: 290a349850fede47c28ae895e7aaa95cf4594545 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class Mixin extends core::Object {
field dynamic field = null;
synthetic constructor •() self::Mixin
: super core::Object::•()
;
method foo() dynamic
return 87;
}
abstract class _Foo&Object&Mixin extends core::Object implements self::Mixin {
field dynamic field = null;
synthetic constructor •() self::_Foo&Object&Mixin
: super core::Object::•()
;
method foo() dynamic
return 87;
}
class Foo extends self::_Foo&Object&Mixin {
synthetic constructor •() self::Foo
: super self::_Foo&Object&Mixin::•()
;
method foo() dynamic
return super.{self::Mixin::foo}();
method bar() dynamic
return super.{self::Mixin::field};
}
static method main() dynamic {
dynamic f = new self::Foo::•();
f.field = 42;
core::print(f.bar());
}