blob: d32bbcbcb6165604ed97d9e0ad32188c6d38c07a [file] [log] [blame]
library;
import self as self;
import "dart:test" as test;
import "dart:test";
static method main() dynamic {
new test::Class::patched();
new test::Class::unpatched();
new test::SubClass::patched();
new test::SubClass::unpatched();
}
library;
import self as test;
import "dart:_internal" as _in;
import "dart:core" as core;
import "dart:_internal";
@/* from org-dartlang-testcase:///patch_lib.dart */ #C1
class Class extends core::Object {
constructor /* from org-dartlang-testcase:///patch_lib.dart */ _internal({core::bool value = #C2}) → test::Class
: super core::Object::•()
;
@#C1
constructor /* from org-dartlang-testcase:///patch_lib.dart */ patched() test::Class
: this test::Class::_internal()
;
constructor unpatched() test::Class
: super core::Object::•()
;
}
abstract class Mixin extends core::Object /*isMixinDeclaration*/ {
}
abstract class _SubClass&Class&Mixin = test::Class with test::Mixin /*isAnonymousMixin*/ {
synthetic constructor patched() test::_SubClass&Class&Mixin
: super test::Class::patched()
;
synthetic constructor unpatched() test::_SubClass&Class&Mixin
: super test::Class::unpatched()
;
synthetic constructor _internal({core::bool value = #C2}) → test::_SubClass&Class&Mixin
: super test::Class::_internal(value: value)
;
}
@/* from org-dartlang-testcase:///patch_lib.dart */ #C1
class SubClass extends test::_SubClass&Class&Mixin {
constructor /* from org-dartlang-testcase:///patch_lib.dart */ _internal() test::SubClass
: super test::_SubClass&Class&Mixin::_internal(value: true)
;
@#C1
constructor /* from org-dartlang-testcase:///patch_lib.dart */ patched() test::SubClass
: this test::SubClass::_internal()
;
constructor unpatched() test::SubClass
: super test::_SubClass&Class&Mixin::unpatched()
;
}
constants {
#C1 = _in::_Patch {}
#C2 = false
}