table.remove return inconsistent
Brought to you by:
ian_farmer,
jim_roseborough
table.remove return on empty table inconsistent with canonical lua 5.2 behaviour
Lua 5.2.2 Copyright (C) 1994-2013 Lua.org, PUC-Rio > local k = table.remove({ }) print(k == nil) true java -cp lib/luaj-jse-3.0.jar lua -v Luaj-jse 3.0 Copyright (c) 2012 Luaj.org.org java -cp lib/luaj-jse-3.0.jar lua > local k = table.remove({ }) print(k == nil) false
Have added a fix for this in 3.0.1
Can't see 3.0.1 in https://sourceforge.net/projects/luaj/files/. Can you please suggest where can I download it?
Is fixed in version 3.0.1.