|
Changes since Lua 5.1 says: > > ipairs now goes until #t. >work1 through work3 had a check against luaL_len, but that has been removed. ipairs in work4 behaves identically to the 5.1 version. (with the exception of returning nil in place of nothing)Is the doc wrong or the code?
I believe the doc is wrong, since the thinking was that since ipairs is being deprecated there was no reason to also change its functionality.