blob: 4c7ee2622708264928173b66107e62fdb94000a6 [file] [log] [blame]
// Expectation for test:
// class Base {
// m(x) {
// print(x+1);
// }
// }
// class Sub extends Base {
// m(x) => super.m(x+10);
// }
// main() {
// new Sub().m(100);
// }
function() {
var line = "" + (100 + 10 + 1);
V.Sub$();
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);
}
}