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