We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer the following before submitting your issue:
The Lua source code below
debug.setmetatable('string', {}) do ('Lua').key = 1 end;
triggers a panic in GopherLua:
$ /home/sergeyb/sources/go/bin/glua -e " debug.setmetatable('string', {}) do ('Lua').key = 1 end; " runtime error: invalid memory address or nil pointer dereference stack traceback: <string>:3: in main chunk [G]: ?
The same snippet executed by Lua 5.1 reports an error "attempt to index a string value":
$ lua5.1 -e " debug.setmetatable('string', {}) do ('Lua').key = 1 end; " lua5.1: (command line):3: attempt to index a string value stack traceback: (command line):3: in main chunk [C]: ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please answer the following before submitting your issue:
The Lua source code below
triggers a panic in GopherLua:
The same snippet executed by Lua 5.1 reports an error "attempt to index a string value":
The text was updated successfully, but these errors were encountered: