blob: c2148d0e7b900d678da99b391a504f12dd732d71 [file] [log] [blame]
// Expectation for test:
// // Method to test: generative_constructor(C#)
// class C<T> {
// var x;
// C() : x = new D<T>();
// }
// class D<T> {
// foo() => T;
// }
// main() {
// print(new C<int>().x.foo());
// }
function($T) {
return H.setRuntimeTypeInfo(new V.C(V.D$($T)), [$T]);
}