-
Notifications
You must be signed in to change notification settings - Fork 256
Open
Description
In Lua 5.5 beta, for
loop variables are const
, resulting in errors such as this:
$ lua5.5 -l pl.tablex
lua5.5: error loading module 'pl.tablex' from file '/usr/share/lua/5.5/pl/tablex.lua':
/usr/share/lua/5.5/pl/tablex.lua:106: attempt to assign to const variable 'k'
stack traceback:
[C]: in ?
[C]: in function 'require'
[C]: in ?
Instances spotted so far (using luac5.5 -p
on files):
pl/app.lua:197: attempt to assign to const variable 'k'
pl/lapp.lua:221: attempt to assign to const variable 'line'
pl/seq.lua:129: attempt to assign to const variable 'v'
pl/tablex.lua:106: attempt to assign to const variable 'k'
Tieske
Metadata
Metadata
Assignees
Labels
No labels