Invoking script with arguments doesn't pass to {...}
Brought to you by:
ian_farmer,
jim_roseborough
In Lua, passing arguments to script via something such as lua_pcall() enables scripts to reference these values using something along the lines of local params = {...}.
However, LuaJ does not pass these values to the script.
This can be recreated by loading a script in LuaJ (on the Java side) by calling globals.baselib.load[Stream] and calling the returned closure with arguments.
A for i,v in pairs({...}) do print(i..': '..v) end only shows the script name and the path as the first two arguments; nothing else.
Not a bug: Use
invokewith aLuaValue[]parameter. Works as expected.Closing as this is not considered a bug.