blob: 3265e2475dcc7bdfea955d150f68c421fd4e1a16 [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
import "dart:core" as core;
import "value_class_support_lib.dart" as val;
import "org-dartlang-testcase:///value_class_support_lib.dart";
class A extends core::Object {
synthetic constructor •() self::A
: super core::Object::•()
;
operator /*isLegacy*/ ==(core::Object other) core::bool
return other is self::A;
get /*isLegacy*/ hashCode() core::int
return val::JenkinsSmiHash::finish("org-dartlang-testcase:///explicit_mixin.dartA".{core::String::hashCode});
method /*isLegacy*/ toString() core::String
return "A()";
method /*isLegacy*/ copyWith() dynamic
return new self::A::•();
}
class B extends core::Object {
synthetic constructor •() self::B
: super core::Object::•()
;
}
class C extends core::Object {
synthetic constructor •() self::C
: super core::Object::•()
;
}
class D extends self::A implements self::B /*isEliminatedMixin*/ {
synthetic constructor •() self::D
: super self::A::•()
;
}
class E extends self::B implements self::A /*isEliminatedMixin*/ {
synthetic constructor •() self::E
: super self::B::•()
;
operator /*isLegacy*/ ==(core::Object other) core::bool
return other is self::A;
get /*isLegacy*/ hashCode() core::int
return val::JenkinsSmiHash::finish("org-dartlang-testcase:///explicit_mixin.dartA".{core::String::hashCode});
method /*isLegacy*/ toString() core::String
return "A()";
method /*isLegacy*/ copyWith() dynamic
return new self::A::•();
}
class F extends self::B implements self::C /*isEliminatedMixin*/ {
synthetic constructor •() self::F
: super self::B::•()
;
operator /*isLegacy*/ ==(core::Object other) core::bool
return other is self::F;
get /*isLegacy*/ hashCode() core::int
return val::JenkinsSmiHash::finish("org-dartlang-testcase:///explicit_mixin.dartF".{core::String::hashCode});
method /*isLegacy*/ toString() core::String
return "F()";
method /*isLegacy*/ copyWith() dynamic
return new self::F::•();
}
static method main() dynamic {}
library /*isNonNullableByDefault*/;
import self as val;
import "dart:core" as core;
class JenkinsSmiHash extends core::Object {
synthetic constructor •() val::JenkinsSmiHash
: super core::Object::•()
;
static method combine(core::int hash, core::int value) core::int {
hash = 536870911.{core::int::&}(hash.{core::num::+}(value));
hash = 536870911.{core::int::&}(hash.{core::num::+}(524287.{core::int::&}(hash).{core::int::<<}(10)));
return hash.{core::int::^}(hash.{core::int::>>}(6));
}
static method finish(core::int hash) core::int {
hash = 536870911.{core::int::&}(hash.{core::num::+}(67108863.{core::int::&}(hash).{core::int::<<}(3)));
hash = hash.{core::int::^}(hash.{core::int::>>}(11));
return 536870911.{core::int::&}(hash.{core::num::+}(16383.{core::int::&}(hash).{core::int::<<}(15)));
}
}
static const field core::String valueClass = #C1;
constants {
#C1 = "valueClass"
}
Extra constant evaluation status:
Evaluated: StringConcatenation @ org-dartlang-testcase:///explicit_mixin.dart:8:7 -> StringConstant("A()")
Evaluated: StringConcatenation @ org-dartlang-testcase:///explicit_mixin.dart:8:7 -> StringConstant("A()")
Evaluated: StringConcatenation @ org-dartlang-testcase:///explicit_mixin.dart:18:7 -> StringConstant("F()")
Extra constant evaluation: evaluated: 52, effectively constant: 3