blob: bb92a38a5264938f4950ca1115a0beaa70140162 [file] [log] [blame]
class A<X> {
A() {}
A.foo() {}
factory A.bar() => new A<X>();
}
main() {}
method() {}
testBar() => A.bar;
testBarArgs() => A<int>.bar;
testBarExtraArgs() => A<int, String>.bar;
testFoo() => A.foo;
testFooArgs() => A<int>.foo;
testFooExtraArgs() => A<int, String>.foo;
testNew() => A.new;
testNewArgs() => A<int>.new;
testNewExtraArgs() => A<int, String>.new;