| OLD | NEW |
| 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 try { | 22 try { |
| 23 core::int x = 0; | 23 core::int x = 0; |
| 24 f.call(); | 24 f.call(); |
| 25 } | 25 } |
| 26 on self::C catch(no-exception-var) { | 26 on self::C catch(no-exception-var) { |
| 27 core::int x = 0; | 27 core::int x = 0; |
| 28 } | 28 } |
| 29 on self::D catch(final self::D x) { | 29 on self::D catch(final self::D x) { |
| 30 self::D x2 = x; | 30 self::D x2 = x; |
| 31 } | 31 } |
| 32 on self::E catch(final self::E x, final core::StackTrace y) { | 32 on self::E catch(final self::E x, final core::StackTrace y) { |
| 33 self::E x2 = x; | 33 self::E x2 = x; |
| 34 core::StackTrace y2 = y; | 34 core::StackTrace y2 = y; |
| 35 } | 35 } |
| 36 on dynamic catch(final dynamic x, final core::StackTrace y) { | 36 on dynamic catch(final dynamic x, final core::StackTrace y) { |
| 37 dynamic x2 = x; | 37 dynamic x2 = x; |
| 38 core::StackTrace y2 = y; | 38 core::StackTrace y2 = y; |
| 39 } | 39 } |
| 40 finally { | 40 finally { |
| 41 core::int x = 0; | 41 core::int x = 0; |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 static method main() → dynamic {} | 44 static method main() → dynamic {} |
| OLD | NEW |