| library test; |
| import self as self; |
| import "dart:core" as core; |
| |
| class A extends core::Object { |
| field dynamic x = null; |
| field dynamic y = 2; |
| field dynamic z = "hi"; |
| synthetic constructor •() → void |
| : super core::Object::•() |
| ; |
| } |
| class B extends core::Object implements self::A { |
| field dynamic x = 2; |
| field dynamic y = 3; |
| field dynamic z = null; |
| field dynamic w = 2; |
| synthetic constructor •() → void |
| : super core::Object::•() |
| ; |
| } |
| static method foo() → dynamic { |
| core::String s; |
| core::int i; |
| s = new self::B::•().x; |
| s = new self::B::•().y; |
| s = new self::B::•().z; |
| s = new self::B::•().w; |
| i = new self::B::•().x; |
| i = new self::B::•().y; |
| i = new self::B::•().z; |
| i = new self::B::•().w; |
| } |
| static method main() → dynamic {} |