pulumi/sdk/nodejs/tests/runtime
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
..
langhost Depend only on vendored protos 2017-09-05 11:52:33 -07:00
closure.spec.ts Implement recursive closure captures 2017-09-10 07:40:53 -07:00
computed.spec.ts Implement recursive closure captures 2017-09-10 07:40:53 -07:00