You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The get_locals function should return a table that does not have not_visible as a key, and does have should_exist as a key. I would expect it to print:
should not exist: nil
should exist: foo
That is what the official Lua5.1 interpreter prints when it runs this file.
What did you see instead? :
Instead I see
should not exist: function: 0xc0000fb080
should exist: nil
For some reason not_visible exists and is a function, and should_exist is nil.
For this case, glua does not produce the same output as lua5.1, which is a bug.
The text was updated successfully, but these errors were encountered:
You must post issues only here. Questions, ideas must be posted in discussions.
Please answer the following before submitting your issue:
I ran this program:
The
get_locals
function should return a table that does not havenot_visible
as a key, and does haveshould_exist
as a key. I would expect it to print:That is what the official Lua5.1 interpreter prints when it runs this file.
Instead I see
For some reason
not_visible
exists and is a function, andshould_exist
is nil.For this case,
glua
does not produce the same output aslua5.1
, which is a bug.The text was updated successfully, but these errors were encountered: