Trying to set properties on a table with a __newindex property in a for loop throws an error. It shouldn't.

The simplest example to demonstrate this issue is here -

Table = setmetatable({}, { __newindex=function(...) rawset(...) end })
for k, v in pairs{0} do Table[k] = v end

--  Output: Unexpected LuaType Tuple
It doesn't seem to be an issue in the latest moonsharp repl. It was fixed in March 2016 -