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

Side by Side Diff: pkg/front_end/testcases/inference/circular_method_inference.dart.strong.expect

Issue 2981783002: Set 'isSyntheticDefault' for default constructors. (Closed)
Patch Set: Created 3 years, 5 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 test; 1 library test;
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 abstract class A extends core::Object { 5 abstract class A extends core::Object {
6 constructor •() → void 6 default constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 abstract method f(dynamic x) → dynamic; 9 abstract method f(dynamic x) → dynamic;
10 } 10 }
11 abstract class B extends core::Object { 11 abstract class B extends core::Object {
12 constructor •() → void 12 default constructor •() → void
13 : super core::Object::•() 13 : super core::Object::•()
14 ; 14 ;
15 abstract method f(dynamic x) → dynamic; 15 abstract method f(dynamic x) → dynamic;
16 } 16 }
17 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/inference /circular_method_inference.dart:12:16: Error: 'A' is a supertype of itself via ' B', 'A'.\nabstract class A extends B {\n ^"]/* from null */; 17 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/inference /circular_method_inference.dart:12:16: Error: 'A' is a supertype of itself via ' B', 'A'.\nabstract class A extends B {\n ^"]/* from null */;
18 static method main() → dynamic {} 18 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698