| OLD | NEW |
| 1 library test; | 1 library test; |
| 2 import self as self; | 2 import self as self; |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 | 4 |
| 5 class A extends core::Object { | 5 class A extends core::Object { |
| 6 field dynamic x = null; | 6 field dynamic x = null; |
| 7 field core::int y = 2; | 7 field core::int y = 2; |
| 8 field core::String z = "hi"; | 8 field core::String z = "hi"; |
| 9 constructor •() → void | 9 default constructor •() → void |
| 10 : super core::Object::•() | 10 : super core::Object::•() |
| 11 ; | 11 ; |
| 12 } | 12 } |
| 13 class B extends core::Object implements self::A { | 13 class B extends core::Object implements self::A { |
| 14 field dynamic x = 2; | 14 field dynamic x = 2; |
| 15 field core::int y = 3; | 15 field core::int y = 3; |
| 16 field core::String z = null; | 16 field core::String z = null; |
| 17 field core::int w = 2; | 17 field core::int w = 2; |
| 18 constructor •() → void | 18 default constructor •() → void |
| 19 : super core::Object::•() | 19 : super core::Object::•() |
| 20 ; | 20 ; |
| 21 } | 21 } |
| 22 static method foo() → dynamic { | 22 static method foo() → dynamic { |
| 23 core::String s; | 23 core::String s; |
| 24 core::int i; | 24 core::int i; |
| 25 s = new self::B::•().{self::B::x}; | 25 s = new self::B::•().{self::B::x}; |
| 26 s = new self::B::•().{self::B::y}; | 26 s = new self::B::•().{self::B::y}; |
| 27 s = new self::B::•().{self::B::z}; | 27 s = new self::B::•().{self::B::z}; |
| 28 s = new self::B::•().{self::B::w}; | 28 s = new self::B::•().{self::B::w}; |
| 29 i = new self::B::•().{self::B::x}; | 29 i = new self::B::•().{self::B::x}; |
| 30 i = new self::B::•().{self::B::y}; | 30 i = new self::B::•().{self::B::y}; |
| 31 i = new self::B::•().{self::B::z}; | 31 i = new self::B::•().{self::B::z}; |
| 32 i = new self::B::•().{self::B::w}; | 32 i = new self::B::•().{self::B::w}; |
| 33 } | 33 } |
| 34 static method main() → dynamic {} | 34 static method main() → dynamic {} |
| OLD | NEW |