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

Side by Side Diff: pkg/front_end/testcases/closure.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; 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 Foo extends core::Object { 5 class Foo extends core::Object {
6 field self::Bar _field = new self::Bar::•(); 6 field self::Bar _field = new self::Bar::•();
7 constructor •() → void 7 default constructor •() → void
8 : super core::Object::•() 8 : super core::Object::•()
9 ; 9 ;
10 } 10 }
11 class Bar extends core::Object { 11 class Bar extends core::Object {
12 constructor •() → void 12 default constructor •() → void
13 : super core::Object::•() 13 : super core::Object::•()
14 ; 14 ;
15 } 15 }
16 static method useCallback(dynamic callback) → dynamic { 16 static method useCallback(dynamic callback) → dynamic {
17 dynamic _ = callback.call(); 17 dynamic _ = callback.call();
18 } 18 }
19 static method main() → dynamic { 19 static method main() → dynamic {
20 dynamic x; 20 dynamic x;
21 function inner() → dynamic { 21 function inner() → dynamic {
22 x = new self::Foo::•(); 22 x = new self::Foo::•();
23 return new self::Foo::•(); 23 return new self::Foo::•();
24 } 24 }
25 self::useCallback(inner); 25 self::useCallback(inner);
26 self::Bar _ = inner.call().{self::Foo::_field}; 26 self::Bar _ = inner.call().{self::Foo::_field};
27 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698