Open raiguard opened 1 month ago
Kakoune
Linux
Diagnostics/Syntax Checking
No diagnostic is given.
A diagnostic Unable to execute code after 'break' is given, even though the only thing after the break is a label.
Unable to execute code after 'break'
break
Reproducible with the following code:
for i = 1, 10 do if i < 8 then print(i) goto continue end break ::continue:: end
No response
The log isn't very relevant in this case but here it is anyway. luals.log
How are you using the lua-language-server?
Kakoune
Which OS are you using?
Linux
What is the issue affecting?
Diagnostics/Syntax Checking
Expected Behaviour
No diagnostic is given.
Actual Behaviour
A diagnostic![image](https://github.com/LuaLS/lua-language-server/assets/3515394/5e8c258d-e553-4d8d-8a43-086ddab540d9)
Unable to execute code after 'break'
is given, even though the only thing after thebreak
is a label.Reproduction steps
Reproducible with the following code:
Additional Notes
No response
Log File
The log isn't very relevant in this case but here it is anyway. luals.log