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

Side by Side Diff: pkg/front_end/testcases/inference/inferred_type_custom_index_op_via_interface.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 class I extends core::Object { 5 class I extends core::Object {
6 constructor •() → void 6 default constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 operator [](core::int index) → core::bool 9 operator [](core::int index) → core::bool
10 return true; 10 return true;
11 } 11 }
12 abstract class C extends core::Object implements self::I { 12 abstract class C extends core::Object implements self::I {
13 constructor •() → void 13 default constructor •() → void
14 : super core::Object::•() 14 : super core::Object::•()
15 ; 15 ;
16 } 16 }
17 static method f() → dynamic { 17 static method f() → dynamic {
18 self::C c; 18 self::C c;
19 core::bool x = c.{self::I::[]}(0); 19 core::bool x = c.{self::I::[]}(0);
20 } 20 }
21 static method main() → dynamic {} 21 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698