lua-users home
lua-l archive

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


On Mon, Apr 2, 2012 at 10:02 AM, Tony Finch <dot@dotat.at> wrote:
> the compiler knows
> statically (from the syntax) when a multi-argument index is happening

what should happen on  t[unpack({1,2})]   ?

note that there's no parenthesis around the unpack() call, so in
theory, it could return any number of arguments

-- 
Javier