Closed payonel closed 8 years ago
Paging LuaJ master @gamax92.
I think __ipairs
is deprecated since Lua 5.3, because ipairs
now respects __index
. __pairs
isn't though.
Without looking it up, I'll agree that sounds familiar :) I felt it worth noting that the tab-completion bug needs pairs fixed, not ipairs.
It appears that tab completion does not work in the lua prompt on LuaJ archs, and further investigation finds that the reason is because the environment is failing to supply a list of available keywords -- and the reason appears to be that user defined ipairs and pairs metamethods are NOT called (len and index are). I have not tested other metamethods.