blob: d22895ff5afc8ed36708e8c8fc183f2af8e6f9c4 [file] [log] [blame]
// Expectation for test:
// class C<T, U> {
// foo() => print(U);
// }
//
// class D extends C<int, double> {}
//
// main() {
// new D().foo();
// }
function() {
var line = H.S(H.createRuntimeType(H.runtimeTypeToString(H.getRuntimeTypeArgument(V.D$(), "C", 1))));
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);
}
}