lua-users home
lua-l archive

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


2017-04-03 11:31 GMT+02:00 Sean Conner <sean@conman.org>:
>
> I'm checking some Lua code with LuaCheck, and I run across this error:
>
>     test2.lua:292:19: left-hand side of assignment is too long
>
> I checked the documentation online, and there's no explaination as to what
> causes this particular error to trigger.  It took me a while to notice the
> actual error:
>
>         size,use16 = opsize(parse.opcode.immediate) + 1 -- [1]
>
> I'm not sure what phrase you could use in this case to make it more
> apparent, but what's there isn't exactly that great.

Something like "multiple assigment involves implied nil values?"