We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The unreachable-code diagnostic is reported after a loop in certain situations.
To Reproduce Try the following code:
local done = false local function set_done() done = true end while not done do set_done() end print(1)
It probably happens in more complex scenarios too.
Expected behavior The line with print(1) is reachable and no diagnostics are reported. The line isn't greyed out.
print(1)
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
f78d494
No branches or pull requests
Describe the bug
The unreachable-code diagnostic is reported after a loop in certain situations.
To Reproduce
Try the following code:
It probably happens in more complex scenarios too.
Expected behavior
The line with
print(1)
is reachable and no diagnostics are reported. The line isn't greyed out.Screenshots

Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: