lua-users home
lua-l archive

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


Why does Lua (5.0) allow the redefinition of locals within a single scope?
This has bitten me a few times when I've forward declared something and then
defined it again rather than just assigning to the forward declaration.

Mark