aardappel / lobster

The Lobster Programming Language
http://strlen.com/lobster
2.21k stars 117 forks source link

im.show_vars is not working properly #291

Open Jack-Ji opened 6 months ago

Jack-Ji commented 6 months ago

A minor change of samples/imguitest.lobster will expose the bug -- comment out code block starts with im.window("Created by code", im.window_no_collapse | im.window_always_autoresize):.

The change will cause global variable d shown as nil.

EDIT: Turns out comment out line 50-53 is enough to trigger the bug

aardappel commented 5 months ago

Will have a look! I think this is a known bug.