Fixed segfault caused by using incorrect index in lua_next() when printing table values.
Printing function values also caused multiple errors, this is now fixed as well.
There was a memory corruption which still requires a test case, but the obviously wrong code has been fixed.
Fixed segfault caused by using incorrect index in lua_next() when printing table values. Printing function values also caused multiple errors, this is now fixed as well. There was a memory corruption which still requires a test case, but the obviously wrong code has been fixed.