This change, part of pulumi/coconut#62, adds support for ECMAScript local functions. This leverages the recent support for lambdas. The change also adds some new test cases for the various forms. Here are some examples of supported forms: function outer() { // simple named inner function: function inner1() { .. }; // anonymous inner function (just a lambda): let inner2 = function() { ... }; // named and bound inner function: let inner3 = function inner4() { ... }; } These merely compile into lambdas that have been bound to local variables with the appropriate names. |
||
---|---|---|
.. | ||
cidlc | ||
coco | ||
cocojs | ||
cocopy |