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

Side by Side Diff: pkg/front_end/testcases/rasta/issue_000026.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 C extends core::Object { 5 class C extends core::Object {
6 field dynamic a = null; 6 field dynamic a = null;
7 field dynamic b = 0; 7 field dynamic b = 0;
8 field dynamic c = 1.+(2); 8 field dynamic c = 1.+(2);
9 constructor •() → void 9 default constructor •() → void
10 : super core::Object::•() 10 : super core::Object::•()
11 ; 11 ;
12 } 12 }
13 class D extends core::Object { 13 class D extends core::Object {
14 field dynamic a = null; 14 field dynamic a = null;
15 field dynamic b = 1; 15 field dynamic b = 1;
16 field dynamic c = 2.-(3); 16 field dynamic c = 2.-(3);
17 constructor •() → void 17 constructor •() → void
18 : super core::Object::•() 18 : super core::Object::•()
19 ; 19 ;
20 } 20 }
21 static method main() → dynamic { 21 static method main() → dynamic {
22 new self::C::•(); 22 new self::C::•();
23 new self::D::•(); 23 new self::D::•();
24 } 24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698