On Wed, Jul 09, 2008 at 03:45:31PM -0700, chromatic wrote: > > That example is fine with me. I almost deleted all of the hijinks necessary > in Closure PMC to attach to a never-initialized outer lexical scope before I > read the lexical spec again and realized that someone designed it that way. > ... > Given the simplicity of the workaround (which actually works) and the > difficulty of making the broken-as-designed feature work partially, I vote > for removing the brokenness.
FWIW, I don't have any problem with having Parrot throw an exception if someone invokes an inner lexical scope for which its outer lexical scope has not been invoked yet. Let's solve that problem when we come to it (and I don't know that Perl 6 will ever come to it -- again, I haven't worried about that case yet). Pm