leanprover-community / leanprover-community/mathlib4
unused arguments not reported in CategoryTheory
Open
Nobody has claimed this yet.
- Dominant language
- Lean
- Stars
- 4.2k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
In PR #38298, there are some unused arguments not reported. I think the linter is supposed to detect this extra condition here, however no error was reported in #lint. What could be the issue?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting PR #38298 and the CategoryTheory declarations referenced there, then run #lint to reproduce the missing unused-argument report. Trace the linter behavior for the extra condition and confirm that the relevant unused arguments are reported without introducing unrelated diagnostics.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100