lua-users home
lua-l archive

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


teste.lua

local teste0 = 'stringteste0'
local <const> teste1 = 'stringteste1'
local teste2 = 'stringteste2'
local <toclose> teste3 = 'stringteste3'
local teste4 = 'stringteste4'

lua teste.lua
lua: teste.lua:5: attempt to close non-closable variable 'teste4'
stack traceback:
    teste.lua:5: in main chunk
    [C]: in ?

Should it be 'teste3' instead of 'teste4'? Am I missing something?

Em qua, 29 de mai de 2019 às 21:41, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> escreveu:
>
> The complete diffs from work2 to alpha are available at
>        http://www.lua.org/work/diffs-lua-5.4.0-work2-alpha-rc1.html
>        http://www.lua.org/work/diffu-lua-5.4.0-work2-alpha-rc1.html
>
> Sorry for the noise.
>


-- 
Rodrigo Azevedo Moreira da Silva