blob: 2c346f0cb37c961f19f0e6f7b99743e43092a598 [file] [log] [blame]
library test;
import self as self;
import "dart:core" as core;
class A extends core::Object {
field core::int x = 2;
synthetic constructor •() self::A
: super core::Object::•()
;
}
static method main() dynamic {
dynamic a = new self::A::•();
self::A b = a as{TypeError} self::A;
core::print(a.x);
core::print(a.x.+(2));
}