| library test; |
| import self as self; |
| import "dart:core" as core; |
| |
| class A<T extends core::Object = dynamic> extends core::Object { |
| final field self::A::T x = null; |
| final field self::A::T w = null; |
| synthetic constructor •() → self::A<self::A::T> |
| : super core::Object::•() |
| ; |
| } |
| class B extends core::Object implements self::A<core::int> { |
| synthetic constructor •() → self::B |
| : super core::Object::•() |
| ; |
| get x() → core::int |
| return 3; |
| get w() → core::int |
| return "hello"; |
| } |
| static method foo() → dynamic { |
| core::String y = new self::B::•().x; |
| core::int z = new self::B::•().x; |
| } |
| static method main() → dynamic {} |