Kilns icon indicating copy to clipboard operation
Kilns copied to clipboard

can't load a sandbox in a sandbox

Open sellout opened this issue 14 years ago • 0 comments

Writing

(load "library/sandbox")
{sandbox (list (par (load "library/sandbox")
                    {sandbox (list {rc} {rc})}
               {rc})}

works just fine. But if you create a file called nested-sandbox.kiln with the contents

(load "library/sandbox")
{sandbox (list {rc} {rc})}

and then do

{sandbox (list (load "nested-sandbox") {rc})}

the inner sandbox message (defined in the file) ends up using the restricted name created in the trigger for the outer sandbox, and therefore never matches its trigger.

This is currently problematic for the test framework.

sellout avatar Oct 24 '11 00:10 sellout