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

Side by Side Diff: pkg/front_end/testcases/argument.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 abstract class Base extends core::Object { 5 abstract class Base extends core::Object {
6 constructor •() → void 6 default constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class Foo extends self::Base { 10 class Foo extends self::Base {
11 constructor •() → void 11 default constructor •() → void
12 : super self::Base::•() 12 : super self::Base::•()
13 ; 13 ;
14 } 14 }
15 class Bar extends self::Base { 15 class Bar extends self::Base {
16 constructor •() → void 16 default constructor •() → void
17 : super self::Base::•() 17 : super self::Base::•()
18 ; 18 ;
19 } 19 }
20 class Baz extends self::Base { 20 class Baz extends self::Base {
21 constructor •() → void 21 default constructor •() → void
22 : super self::Base::•() 22 : super self::Base::•()
23 ; 23 ;
24 } 24 }
25 static method foo(dynamic x) → void {} 25 static method foo(dynamic x) → void {}
26 static method bar(dynamic x) → void {} 26 static method bar(dynamic x) → void {}
27 static method foo_escaped(dynamic x) → void {} 27 static method foo_escaped(dynamic x) → void {}
28 static method bar_escaped(dynamic x) → void {} 28 static method bar_escaped(dynamic x) → void {}
29 static method escape(dynamic fn) → void { 29 static method escape(dynamic fn) → void {
30 fn.call(new self::Baz::•()); 30 fn.call(new self::Baz::•());
31 } 31 }
32 static method main() → dynamic { 32 static method main() → dynamic {
33 self::foo(new self::Foo::•()); 33 self::foo(new self::Foo::•());
34 self::bar(new self::Bar::•()); 34 self::bar(new self::Bar::•());
35 self::escape(self::foo_escaped); 35 self::escape(self::foo_escaped);
36 self::escape(self::bar_escaped); 36 self::escape(self::bar_escaped);
37 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698