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

Side by Side Diff: pkg/front_end/testcases/inference/try_catch.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 C extends core::Object { 5 class C extends core::Object {
6 constructor •() → void 6 default constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class D extends core::Object { 10 class D extends core::Object {
11 constructor •() → void 11 default constructor •() → void
12 : super core::Object::•() 12 : super core::Object::•()
13 ; 13 ;
14 } 14 }
15 class E extends core::Object { 15 class E extends core::Object {
16 constructor •() → void 16 default constructor •() → void
17 : super core::Object::•() 17 : super core::Object::•()
18 ; 18 ;
19 } 19 }
20 static method test(() → void f) → void { 20 static method test(() → void f) → void {
21 try { 21 try {
22 core::int x = 0; 22 core::int x = 0;
23 f.call(); 23 f.call();
24 } 24 }
25 on self::C catch(no-exception-var) { 25 on self::C catch(no-exception-var) {
26 core::int x = 0; 26 core::int x = 0;
27 } 27 }
28 on self::D catch(final self::D x) { 28 on self::D catch(final self::D x) {
29 self::D x2 = x; 29 self::D x2 = x;
30 } 30 }
31 on self::E catch(final self::E x, final core::StackTrace y) { 31 on self::E catch(final self::E x, final core::StackTrace y) {
32 self::E x2 = x; 32 self::E x2 = x;
33 core::StackTrace y2 = y; 33 core::StackTrace y2 = y;
34 } 34 }
35 on dynamic catch(final dynamic x, final core::StackTrace y) { 35 on dynamic catch(final dynamic x, final core::StackTrace y) {
36 dynamic x2 = x; 36 dynamic x2 = x;
37 core::StackTrace y2 = y; 37 core::StackTrace y2 = y;
38 } 38 }
39 } 39 }
40 static method main() → dynamic {} 40 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698