Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tostring not work for Table And Userdata if has metatable #97

Open
caffeine-mgn opened this issue Nov 30, 2021 · 0 comments
Open

tostring not work for Table And Userdata if has metatable #97

caffeine-mgn opened this issue Nov 30, 2021 · 0 comments

Comments

@caffeine-mgn
Copy link

Methods tostring of classes org.luaj.vm2.LuaTable and org.luaj.vm2.LuaUserdata work wrong if there has metatable.

LuaUserdata calls m_instance.toString()
LuaTable throws exception

both classes should return result of __tostring of his metatable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant