blob: 0e421fc0356b3c202bb396ddb8f5c50fa870cc0b [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class C extends core::Object {
default constructor •() void
: super core::Object::•()
;
}
class D extends self::C {
default constructor •() void
: super self::C::•()
;
}
class E extends core::StackTrace {
default constructor •() void
: super core::StackTrace::•()
;
}
static method test(() void f) void {
try {
f.call();
}
on self::C catch(final self::C x, final core::StackTrace y) {
dynamic x1 = x;
dynamic y1 = y;
if(x is self::D) {
dynamic x2 = x{self::D};
}
if(y is self::E) {
dynamic y2 = y{self::E};
}
}
}
static method main() dynamic {}