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 self::C { | 10 class D extends self::C { |
11 constructor •() → void | 11 default constructor •() → void |
12 : super self::C::•() | 12 : super self::C::•() |
13 ; | 13 ; |
14 } | 14 } |
15 class E extends core::StackTrace { | 15 class E extends core::StackTrace { |
16 constructor •() → void | 16 default constructor •() → void |
17 : super core::StackTrace::•() | 17 : super core::StackTrace::•() |
18 ; | 18 ; |
19 } | 19 } |
20 static method test(() → void f) → void { | 20 static method test(() → void f) → void { |
21 try { | 21 try { |
22 f.call(); | 22 f.call(); |
23 } | 23 } |
24 on self::C catch(final self::C x, final core::StackTrace y) { | 24 on self::C catch(final self::C x, final core::StackTrace y) { |
25 self::C x1 = x; | 25 self::C x1 = x; |
26 core::StackTrace y1 = y; | 26 core::StackTrace y1 = y; |
27 if(x is self::D) { | 27 if(x is self::D) { |
28 self::D x2 = x{self::D}; | 28 self::D x2 = x{self::D}; |
29 } | 29 } |
30 if(y is self::E) { | 30 if(y is self::E) { |
31 self::E y2 = y{self::E}; | 31 self::E y2 = y{self::E}; |
32 } | 32 } |
33 } | 33 } |
34 } | 34 } |
35 static method main() → dynamic {} | 35 static method main() → dynamic {} |
OLD | NEW |