blob: 3b1beedbeb6c2d2910a668c77dc3f2d83ce2a6ec [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
static method main() dynamic {
core::Object o = 1;
try {
if(o as{TypeError} core::bool) {
}
throw "no exception";
}
on core::TypeError catch(no-exception-var) {
}
}