lua-users home
lua-l archive

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


On 13/01/2017 15:57, Roberto Ierusalimschy wrote:
This is release 1.0.1. It is a bug-fix release.


I compiled it for Lua 5.1 and ran test.lua. Then got the following:
   test.lua:1135: attempt to call field 'unpack' (a nil value)

After replacing 'table.unpack' on line 1135 with 'unpack' I got:

lua: test.lua:1135: too many results to unpack
stack traceback:
    [C]: in function 'unpack'
    test.lua:1135: in function <test.lua:1133>
    [C]: in function 'match'
    test.lua:1151: in main chunk
    [C]: ?

--
Shmuel