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 A extends core::Object { | 5 class A extends core::Object { |
6 constructor •() → void | 6 constructor •() → self::A |
7 : super core::Object::•() | 7 : invalid-initializer; |
8 ; | |
9 } | 8 } |
10 class B extends core::Object { | 9 class B extends core::Object { |
11 constructor •() → void | 10 constructor •() → self::B |
12 : super core::Object::•() | 11 : invalid-initializer; |
13 ; | |
14 } | 12 } |
15 class C extends core::Object { | 13 class C extends core::Object { |
16 constructor •() → void | 14 constructor •() → dynamic |
17 : super core::Object::•() | 15 : invalid-initializer; |
18 ; | |
19 } | 16 } |
20 class D extends core::Object { | 17 class D extends core::Object { |
21 static field dynamic _redirecting# = <dynamic>[self::D::•]; | |
22 static factory •() → self::D | 18 static factory •() → self::D |
23 let dynamic #redirecting_factory = "Missing" in invalid-expression; | 19 invalid-statement; |
24 } | 20 } |
25 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/rasta/cla
ss_hierarchy.dart:9:7: Error: The type 'Missing' can't be mixed in.\nclass C = O
bject with Missing;\n ^", "pkg/front_end/testcases/rasta/class_hierarchy.da
rt: Error: The type 'Missing' can't be used as supertype.", "pkg/front_end/testc
ases/rasta/class_hierarchy.dart: Error: The type 'Missing' can't be used as supe
rtype.", "pkg/front_end/testcases/rasta/class_hierarchy.dart: Error: The type 'M
issing' can't be used as supertype.", "pkg/front_end/testcases/rasta/class_hiera
rchy.dart: Error: The type 'Missing' can't be used as supertype."]/* from null *
/; | |
26 static method main() → void { | 21 static method main() → void { |
27 new self::A::•(); | 22 new self::A::•(); |
28 new self::B::•(); | 23 new self::B::•(); |
29 new self::C::•(); | 24 new self::C::•(); |
30 throw new core::NoSuchMethodError::_withType(null, #Missing, 32, <dynamic>[].t
oList(growable: false), <dynamic, dynamic>{}, null); | 25 invalid-expression.call(); |
31 } | 26 } |
OLD | NEW |