Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(954)

Side by Side Diff: pkg/front_end/testcases/cycles.dart.direct.expect

Issue 2938573002: Improve recovery from compile-time errors. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 •() → 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 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 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 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 static method main() → dynamic { 26 static method main() → dynamic {
26 core::print(new self::A::•()); 27 core::print(new self::A::•());
27 core::print(new self::B::•()); 28 core::print(new self::B::•());
28 core::print(new self::C::•()); 29 core::print(new self::C::•());
29 core::print(new self::D::•()); 30 core::print(new self::D::•());
30 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698