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
VMify will fail if there's a repeat until statement that references a local in the until condition that was first defined in the repeat's body
Code to reproduce:
repeatlocalx=5untilx==5-- The condition here should see the `local x = 5` above, as they are actually contained in the same scope
The actual code that parses the repeat until (src/prometheus/parser.lua#L225-L233) is parsing the condition with the return's scope, which should be good, but for some reason something later is breaking because of this, and I have no idea what