| OLD | NEW |
| 1 library; | 1 library; |
| 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 C extends core::Object { | 5 class C extends core::Object { |
| 6 const constructor constant() → dynamic | 6 const constructor constant() → void |
| 7 : super core::Object::•() | |
| 8 ; | 7 ; |
| 9 constructor missingFactoryKeyword() → dynamic | 8 constructor missingFactoryKeyword() → void |
| 10 : super core::Object::•() | 9 ; |
| 11 invalid-statement; | |
| 12 static factory good() → self::C | 10 static factory good() → self::C |
| 13 invalid-statement; | 11 ; |
| 14 method notEvenAConstructor(dynamic a) → self::C | 12 method notEvenAConstructor(dynamic a) → self::C |
| 15 invalid-statement; | 13 ; |
| 16 } | 14 } |
| 17 static method b() → dynamic | 15 static method b() → dynamic |
| 18 invalid-statement; | 16 ; |
| 19 static method main() → dynamic { | 17 static method main() → dynamic |
| 20 self::C c = null; | 18 ; |
| 21 core::print(const self::C::constant()); | |
| 22 core::print(invalid-expression); | |
| 23 core::print(const self::C::constant()); | |
| 24 core::print(new self::C::constant().notEvenAConstructor(null)); | |
| 25 } | |
| OLD | NEW |