_.print does not work
Closed this issue · 1 comments
rosshadden commented
In lua 5.1, I get the following error when using _.print
:
Error: rocks/share/lua/5.1/lodash.lua:1742: attempt to call field 'pack' (a nil value)
stack traceback:
rocks/share/lua/5.1/lodash.lua:1742: in function 'table'
rocks/share/lua/5.1/lodash.lua:2222: in function 'print'
modules/load.lua:9: in function 'load'
[string "boot.lua"]:437: in function <[string "boot.lua"]:433>
[C]: in function 'xpcall'
rosshadden commented
This is because table.pack
was introduced in lua 5.2.