blob: b22bbcb3dc5e291dc7b62ed7fc643dbece759da8 [file] [log] [blame]
class A {
factory A(x) = B<int>;
get typevar;
}
class B<T> implements A {
var x;
B(this.x);
get typevar => T;
}
main() {
new A(5).typevar;
}