-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Darklua can't handle any statements after break
Here's example:
repeat
break
print('Unreachable')
until true
That's the error:
--[[
an error happened while trying to process the code:
unable to process code:
-> unable to parse `file.lua`: error occurred while creating ast: unexpected token `print`. (starting from line 3, character 2 and ending on line 3, character 7)
additional information: expected `until` after block
error occurred while creating ast: unexpected token `until`. (starting from line 4, character 1 and ending on line 4, character 6)
additional information: unexpected token, this needs to be a statement
Configuration: {
rules: [
],
}]]
Metadata
Metadata
Assignees
Labels
No labels