blob: 2dfa48dd78717fd21bdf5e66134e30074fcbcf8d [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
abstract class M extends core::Object {
field dynamic m = null;
synthetic constructor •() self::M*
: super core::Object::•()
;
abstract member-signature get _identityHashCode() core::int*; -> core::Object::_identityHashCode
abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) core::bool*; -> core::Object::_instanceOf
abstract member-signature method _simpleInstanceOf(dynamic type) core::bool*; -> core::Object::_simpleInstanceOf
abstract member-signature method _simpleInstanceOfTrue(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfTrue
abstract member-signature method _simpleInstanceOfFalse(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfFalse
abstract member-signature operator ==(dynamic other) core::bool*; -> core::Object::==
abstract member-signature get hashCode() core::int*; -> core::Object::hashCode
abstract member-signature method toString() core::String*; -> core::Object::toString
abstract member-signature method noSuchMethod(core::Invocation* invocation) dynamic; -> core::Object::noSuchMethod
abstract member-signature get runtimeType() core::Type*; -> core::Object::runtimeType
}
abstract class N extends self::M {
synthetic constructor •() self::N*
: super self::M::•()
;
set superM(dynamic value) void {
super.{self::M::m} = value;
}
get superM() dynamic
return super.{self::M::m};
}
class S extends core::Object {
synthetic constructor •() self::S*
: super core::Object::•()
;
abstract member-signature get _identityHashCode() core::int*; -> core::Object::_identityHashCode
abstract member-signature method _instanceOf(dynamic instantiatorTypeArguments, dynamic functionTypeArguments, dynamic type) core::bool*; -> core::Object::_instanceOf
abstract member-signature method _simpleInstanceOf(dynamic type) core::bool*; -> core::Object::_simpleInstanceOf
abstract member-signature method _simpleInstanceOfTrue(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfTrue
abstract member-signature method _simpleInstanceOfFalse(dynamic type) core::bool*; -> core::Object::_simpleInstanceOfFalse
abstract member-signature operator ==(dynamic other) core::bool*; -> core::Object::==
abstract member-signature get hashCode() core::int*; -> core::Object::hashCode
abstract member-signature method toString() core::String*; -> core::Object::toString
abstract member-signature method noSuchMethod(core::Invocation* invocation) dynamic; -> core::Object::noSuchMethod
abstract member-signature get runtimeType() core::Type*; -> core::Object::runtimeType
}
abstract class _Named&S&M = self::S with self::M /*isAnonymousMixin*/ {
synthetic constructor •() self::_Named&S&M*
: super self::S::•()
;
}
abstract class _Named&S&M&N = self::_Named&S&M with self::N /*isAnonymousMixin*/ {
synthetic constructor •() self::_Named&S&M&N*
: super self::_Named&S&M::•()
;
}
class Named = self::_Named&S&M&N with self::M {
synthetic constructor •() self::Named*
: super self::_Named&S&M&N::•()
;
}
static method main() dynamic {
self::Named* named = new self::Named::•();
named.{self::M::m} = 42;
named.{self::N::superM} = 87;
if(!named.{self::M::m}.{core::Object::==}(42)) {
throw "Bad mixin translation of set:superM";
}
if(!named.{self::N::superM}.{core::Object::==}(87)) {
throw "Bad mixin translation of get:superM";
}
}