On Tue Jan 20 11:29:48 2009, moritz wrote:
> Status update: 'my sub name { ... }' is parsed, but it's not lexical:
> 
> $ ./perl6 -e '{ my sub f { say "in f" }; f() }; f(); { my sub f { say
> "in second f" }; f() }; f()'
> in f
> in f
> in f
> in f
> 
> That should die on the second call to f().
> 
And as of git c40f3b9 it does so. Plus unfudged a couple of tests,
though there may well be others depending on lexical subs we can now
unfudge too.

Thanks,

Jonathan

Reply via email to