lua-users home
lua-l archive

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


On Tue, Feb 26, 2013 at 1:42 PM, Carsten Fuchs <carsten.fuchs@cafu.de> wrote:
>     function x:y("someObject"):f()
>         -- ...
>     end
> Unfortunately, this doesn't work

BTW, not every L-value can be used in function definition.
The following code will give compilation error:

local t = {}
function t[1] ()
end