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)); | |
} |