blob: b7cbfbd92798513386d1df425d0fb6518f4fc149 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
abstract class Mixin extends core::Object {
synthetic constructor •() self::Mixin*
: 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
}
class Base extends core::Object /*hasConstConstructor*/ {
final field core::int* x;
const constructor •(core::int* x) self::Base*
: self::Base::x = x, 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
}
class Application extends self::Base implements self::Mixin /*isEliminatedMixin,hasConstConstructor*/ {
const synthetic constructor •(core::int* x) self::Application*
: super self::Base::•(x)
;
}
static method main() dynamic {
self::expect(42, (#C2).{self::Base::x}{core::int*});
}
static method expect(dynamic expected, dynamic actual) dynamic {
if(!(expected =={core::Object::==}{(core::Object*) →* core::bool*} actual))
throw "Expected ${expected}, actual ${actual}";
}
constants {
#C1 = 42
#C2 = self::Application {x:#C1}
}
Constructor coverage from constants:
org-dartlang-testcase:///issue41070.dart:
- Application. (from org-dartlang-testcase:///issue41070.dart:12:7)
- Base. (from org-dartlang-testcase:///issue41070.dart:9:9)
- Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart:25:9)