OLD | NEW |
| (Empty) |
1 library; | |
2 import self as self; | |
3 import "dart:core" as core; | |
4 | |
5 class C extends core::Object { | |
6 const constructor constant() → dynamic | |
7 : super core::Object::•() | |
8 ; | |
9 constructor missingFactoryKeyword() → dynamic | |
10 : super core::Object::•() | |
11 invalid-statement; | |
12 static factory good() → self::C | |
13 invalid-statement; | |
14 method notEvenAConstructor(dynamic a) → self::C | |
15 invalid-statement; | |
16 } | |
17 static method b() → dynamic | |
18 invalid-statement; | |
19 static method main() → dynamic { | |
20 self::C c = null; | |
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 |