lua-users home
lua-l archive

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

> Wow. This has changed! I should have read the new 5.3 manual.

That code behaves the same since Lua 3.1, which introduced the do ...
end syntax.
Try it using the lua-all package, available at .

> And I have an old Lua implementation that does not behave like this (it did not allow "function a.b:c() end", only "function c() end" and there was no need of the leading "local", this was still only allowed as a statement like in Lua 5.3).

Which implementation? Which version?