pulumi/sdk/nodejs/tests
joeduffy 8ce07617c9 Implement recursive closure captures
This change implements recursive closure captures.  This permits
cases like the following

    {
        function f() { g(); }
        function g() { f(); }
    }

and the slightly more useful

    class C {
        this.x = 42;
        this.f = () => x;
    }

To do this requires caching the environment objects and permitting
cycles in the resulting environment graph.  The closure emitter code
already knows how to handle this.

In addition, we must mark captures of `this` as free variables.

This resolves pulumi/pulumi-fabric#333.
2017-09-10 07:40:53 -07:00
..
runtime Implement recursive closure captures 2017-09-10 07:40:53 -07:00
config.spec.ts Take an initial stab at closure serialization 2017-09-04 11:35:21 -07:00
init.spec.ts Take an initial stab at closure serialization 2017-09-04 11:35:21 -07:00
util.ts Implement recursive closure captures 2017-09-10 07:40:53 -07:00