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