blob: 68a9ad0ab747c79e042683ba1911416bf4d1c092 [file] [log] [blame]
library;
import self as self;
import "dart:core" as core;
class A extends core::Object {
constructor •(core::int x, core::bool y, {required core::String z}) self::A
: super core::Object::•()
;
constructor foo() self::A
: final core::int #t1 = 42, final core::String #t2 = "foo", this self::A::•(#t1, false, z: #t2)
;
static factory bar(core::int x, core::bool y, {required core::String z}) self::A /* redirection-target: self::A::• */
return new self::A::•(x, y, z: z);
}
class B extends self::A {
constructor •() self::B
: final core::int #t3 = 42, final core::String #t4 = "foo", super self::A::•(#t3, false, z: #t4)
;
}
static method test() dynamic {
new self::A::•(42, false, z: "bar");
let final core::int #t5 = 42 in let final core::String #t6 = "bar" in new self::A::•(#t5, false, z: #t6);
let final core::String #t7 = "bar" in new self::A::•(42, false, z: #t7);
}
static method main() dynamic {}