lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, May 30, 2019 at 2:31 PM Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>
> > Test with two errors:
> >
> >     > do local <toclose> x='XX'; local <toclose> y='YY'  end
> >
> >     stdin:1: err closing XX
> >
> > No stack traceback. Is it normal?
>
> I could not reproduce this. I get a traceback.
>
> -- Roberto

I also get a traceback (Ubuntu 18.04):

<0> jonathan@JONATHAN-DESKTOP Thu May 30 12:19 PM ~/src/lua-5.4.0-alpha
(!541) $ ./src/lua
Lua 5.4.0  Copyright (C) 1994-2019 Lua.org, PUC-Rio
> do local <toclose> x='XX'; local <toclose> y='YY'  end
stdin:1: attempt to close non-closable variable 'y'
stack traceback:
        stdin:1: in main chunk
        [C]: in ?