This moonscript:
things ={1,nil,2}for thing in*things
if move ==nilcontinueprint(thing)returnCompiles to invalid lua:
localthings= {
1,
nil,
2
}
for_index_0=1, #thingsdolocal_continue_0=falserepeatlocalthing=things[_index_0]
ifmove==nilthen_continue_0=truebreakendprint(thing)
return_continue_0=trueuntiltrueifnot_continue_0thenbreakendendThe error:
lua: bug.lua:16: 'until' expected (to close 'repeat' at line 8) near '='
This moonscript:
Compiles to invalid lua:
The error: