blob: 435bb62d8137aa60ab162fa76be5677c5e3d65e7 [file] [log] [blame]
// Expectation for test:
// class C<T> {
// foo() => new D<C<T>>();
// }
// class D<T> {
// bar() => T;
// }
// main() {
// print(new C<int>().foo().bar());
// }
function() {
var line = H.S(H.createRuntimeType(H.runtimeTypeToString(H.getTypeArgumentByIndex(V.D$([V.C, H.getTypeArgumentByIndex(V.C$(P.$int), 0)]), 0))));
if (typeof dartPrint == "function")
dartPrint(line);
else if (typeof console == "object" && typeof console.log != "undefined")
console.log(line);
else if (!(typeof window == "object")) {
if (!(typeof print == "function"))
throw "Unable to print message: " + String(line);
print(line);
}
}