OLD | NEW |
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 X extends core::Object { | 5 class X extends core::Object { |
6 default constructor •() → void | 6 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 } | 9 } |
10 class A extends core::Object { | 10 class A extends core::Object { |
11 field self::X x; | 11 field self::X x; |
12 constructor •(self::X x) → void | 12 constructor •(self::X x) → void |
13 : self::A::x = x, super core::Object::•() {} | 13 : self::A::x = x, super core::Object::•() {} |
14 } | 14 } |
15 class B extends core::Object { | 15 class B extends core::Object { |
16 field self::X x; | 16 field self::X x; |
17 constructor •(self::X x) → void | 17 constructor •(self::X x) → void |
18 : final Vector #context = MakeVector(3), this self::B::#redir(x, #context) | 18 : final dynamic #context = MakeVector(3), this self::B::#redir(x, #context) |
19 ; | 19 ; |
20 constructor #redir(self::X x, final Vector #context) → void | 20 constructor #redir(self::X x, final dynamic #context) → void |
21 : dynamic #t1 = #context[2] = x, self::B::x = #context[2], super core::Objec
t::•() { | 21 : dynamic #t1 = #context[2] = x, self::B::x = #context[2], super core::Objec
t::•() { |
22 final () → dynamic fn = MakeClosure<() → dynamic>(self::closure#B#function#f
n, #context); | 22 final () → dynamic fn = MakeClosure<() → dynamic>(self::closure#B#function#f
n, #context); |
23 fn.call(); | 23 fn.call(); |
24 } | 24 } |
25 } | 25 } |
26 static method main() → dynamic { | 26 static method main() → dynamic { |
27 self::A a = new self::A::•(new self::X::•()); | 27 self::A a = new self::A::•(new self::X::•()); |
28 self::B b = new self::B::•(new self::X::•()); | 28 self::B b = new self::B::•(new self::X::•()); |
29 } | 29 } |
30 static method closure#B#function#fn(Vector #contextParameter) → dynamic { | 30 static method closure#B#function#fn(dynamic #contextParameter) → dynamic { |
31 core::print(#contextParameter[2]); | 31 core::print(#contextParameter[2]); |
32 } | 32 } |
OLD | NEW |