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/rasta/issue_000080.dart.direct.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 Mixin extends core::Object { 5 class Mixin extends core::Object {
6 field dynamic field = null; 6 field dynamic field = null;
7 constructor •() → void 7 default constructor •() → void
8 : super core::Object::•() 8 : super core::Object::•()
9 ; 9 ;
10 method foo() → dynamic 10 method foo() → dynamic
11 return 87; 11 return 87;
12 } 12 }
13 abstract class Object&Mixin = core::Object with self::Mixin { 13 abstract class Object&Mixin = core::Object with self::Mixin {
14 } 14 }
15 class Foo extends self::Object&Mixin { 15 class Foo extends self::Object&Mixin {
16 constructor •() → void 16 default constructor •() → void
17 : super core::Object::•() 17 : super core::Object::•()
18 ; 18 ;
19 method foo() → dynamic 19 method foo() → dynamic
20 return super.{self::Mixin::foo}(); 20 return super.{self::Mixin::foo}();
21 method bar() → dynamic 21 method bar() → dynamic
22 return super.{self::Mixin::field}; 22 return super.{self::Mixin::field};
23 } 23 }
24 static method main() → dynamic { 24 static method main() → dynamic {
25 dynamic f = new self::Foo::•(); 25 dynamic f = new self::Foo::•();
26 f.field = 42; 26 f.field = 42;
27 core::print(f.bar()); 27 core::print(f.bar());
28 } 28 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698