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 •() → void | 6 const constructor •() → void |
7 : final dynamic #t1 = const core::_ConstantExpressionError::•()._throw(new c
ore::_CompileTimeError::•("pkg/front_end/testcases/rasta/bad_constructor_redirec
tion.dart:6:20: Error: Method not found: 'x'.\n const C() : this.x(1);\n
^")) | 7 : invalid-initializer; |
8 ; | |
9 const constructor x() → void | 8 const constructor x() → void |
10 : super core::Object::•() | 9 : super core::Object::•() |
11 ; | 10 ; |
12 } | 11 } |
13 static method main() → dynamic { | 12 static method main() → dynamic { |
14 new self::C::•(); | 13 new self::C::•(); |
15 const self::C::•(); | 14 const self::C::•(); |
16 } | 15 } |
OLD | NEW |