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
linter.unusedVariables
example : ∀ (l : List α) n, l.get? n = some a → True | _::_, _+1, _ => trivial | _::_, 0, rfl => trivial --^ unused variable `a` [linter.unusedVariables]
The text was updated successfully, but these errors were encountered:
Somehow the match elaborator is introducing this synthetic name using an original source info. I haven't looked more closely than that yet.
match
Sorry, something went wrong.
fix: inaccessible pattern vars reported as binders (#5337)
438061a
Fixes an unused variable false positive on some wildcard patterns Fixes #1633, fixes #2830
fix: inaccessible pattern vars reported as binders (leanprover#5337)
ab9233e
Fixes an unused variable false positive on some wildcard patterns Fixes leanprover#1633, fixes leanprover#2830
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: