tostring not work for Table And Userdata if has metatable #97
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Methods
tostringof classesorg.luaj.vm2.LuaTableandorg.luaj.vm2.LuaUserdatawork wrong if there has metatable.LuaUserdatacallsm_instance.toString()LuaTablethrows exceptionboth classes should return result of
__tostringof his metatable