identical_branches
Updatedcorrectnesswarn
An if whose then and else bodies are the same.
Both branches hold the same statements, so the condition decides nothing. One branch was meant to differ, or the if is a leftover. The ternary form c ? a : a fires too.
Set its level in the [lint] table of alloy.toml, or for one file with --@alloy-lint.
