54b588a373
Closes #53615 TEST=existing Change-Id: Ic2ad21787e62c8051dc2020cc15d61195f512b80 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/330440 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
32 lines
928 B
Plaintext
32 lines
928 B
Plaintext
library;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
abstract class M extends core::Object /*isMixinDeclaration*/ {
|
|
method mixinMethod() → void {}
|
|
}
|
|
class B extends core::Object {
|
|
synthetic constructor •() → self::B
|
|
: super core::Object::•()
|
|
;
|
|
}
|
|
abstract class _C&Object&M = core::Object with self::M /*isAnonymousMixin,hasConstConstructor*/ {
|
|
const synthetic constructor •() → self::_C&Object&M
|
|
: super core::Object::•()
|
|
;
|
|
mixin-super-stub method mixinMethod() → void
|
|
return super.{self::M::mixinMethod}();
|
|
}
|
|
class C extends self::_C&Object&M {
|
|
synthetic constructor •() → self::C
|
|
: super self::_C&Object&M::•()
|
|
;
|
|
}
|
|
class D = core::Object with self::M /*hasConstConstructor*/ {
|
|
const synthetic constructor •() → self::D
|
|
: super core::Object::•()
|
|
;
|
|
mixin-super-stub method mixinMethod() → void
|
|
return super.{self::M::mixinMethod}();
|
|
}
|