| OLD | NEW |
| 1 library; | 1 library; |
| 2 import self as self; | 2 import self as self; |
| 3 | 3 |
| 4 static method main(dynamic arguments) → dynamic { | 4 static method main(dynamic arguments) → dynamic { |
| 5 final Vector #context = MakeVector(2); | 5 final Vector #context = MakeVector(3); |
| 6 #context[1] = MakeClosure<() → dynamic>(self::closure#main#f, #context); | 6 #context[2] = MakeClosure<() → dynamic>(self::closure#main#f, #context); |
| 7 final () → dynamic g = MakeClosure<() → dynamic>(self::closure#main#g, #contex
t); | 7 final () → dynamic g = MakeClosure<() → dynamic>(self::closure#main#g, #contex
t); |
| 8 g.call(); | 8 g.call(); |
| 9 } | 9 } |
| 10 static method closure#main#f(Vector #contextParameter) → dynamic { | 10 static method closure#main#f(Vector #contextParameter) → dynamic { |
| 11 return null; | 11 return null; |
| 12 } | 12 } |
| 13 static method closure#main#g(Vector #contextParameter) → dynamic { | 13 static method closure#main#g(Vector #contextParameter) → dynamic { |
| 14 return (#contextParameter[1]).call(); | 14 return (#contextParameter[2]).call(); |
| 15 } | 15 } |
| OLD | NEW |