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 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 } | 9 } |
10 class B extends core::Object { | 10 class B extends core::Object { |
11 constructor •() → void | 11 default constructor •() → void |
12 : super core::Object::•() | 12 : super core::Object::•() |
13 ; | 13 ; |
14 } | 14 } |
15 class C extends core::Object { | 15 class C extends core::Object { |
16 constructor •() → void | 16 default constructor •() → void |
17 : super core::Object::•() | 17 : super core::Object::•() |
18 ; | 18 ; |
19 } | 19 } |
20 class D extends core::Object { | 20 class D extends core::Object { |
21 constructor •() → void | 21 default constructor •() → void |
22 : super core::Object::•() | 22 : super core::Object::•() |
23 ; | 23 ; |
24 } | 24 } |
25 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/cycles.da
rt:7:7: Error: 'B' is a supertype of itself via 'A', 'C', 'B'.\nclass B extends
A {}\n ^"]/* from null */; | 25 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/cycles.da
rt:7:7: Error: 'B' is a supertype of itself via 'A', 'C', 'B'.\nclass B extends
A {}\n ^"]/* from null */; |
26 static method main() → dynamic { | 26 static method main() → dynamic { |
27 core::print(new self::A::•()); | 27 core::print(new self::A::•()); |
28 core::print(new self::B::•()); | 28 core::print(new self::B::•()); |
29 core::print(new self::C::•()); | 29 core::print(new self::C::•()); |
30 core::print(new self::D::•()); | 30 core::print(new self::D::•()); |
31 } | 31 } |
OLD | NEW |