Closed
Description
Here's example of TS code:
while (true) continue;
Here's generated code:
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]]
while true do
do
local __continue2
repeat
__continue2 = true
break
__continue2 = true
until true
if not __continue2 then
break
end
end
end
TSTL generated unneeded __continue2 = true
after break
statement.