[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lambdas
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 19 Nov 2018 11:41:30 -0200
> 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 ...
Try it using the lua-all package, available at http://www.lua.org/ftp/ .
> 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?