lloyAlloy on GitHub
unreachable_code
Docs

unreachable_code

Updated

A statement after return, break, or continue.

Nothing runs after return, break, or continue in the same block, so the statement is dead. Luau rejects most of these as syntax errors; Alloy reports the rest here. Delete the code, or move the jump. A jump under @cfg leaves the block on one side of the build alone, so the code after it does not fire.

Set its level in the [lint] table of alloy.toml, or for one file with --@alloy-lint.