-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
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
[Merged by Bors] - chore: fix "unnecessary have" lint errors #13680
Conversation
llllvvuu
commented
Jun 10, 2024
•
edited
Loading
edited
For some reason, these only go off on my Lean PR testing branch. Some of the ones that went off there were genuinely unnecessary haves. Others were "unnecessary" for the def, but necessary for `decreasing_tactic`. Others were declarations getting flagged for depending on declarations that had unnecessary haves. I don't know which things are bugs in the linter, which things are bugs in my Lean patch, and which things are bugs related to what my Lean patch fixed.
PR summaryImport changesNo significant changes to the import graph Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/no_lost_declarations.sh short <optional_commit>
## more verbose report:
./scripts/no_lost_declarations.sh <optional_commit> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These fixes certainly seem fine to me.
Can you update the PR description, please?
Updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maintainer merge
🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde. |
bors merge |
Co-authored-by: L Lllvvuu <git@llllvvuu.dev>
Pull request successfully merged into master. Build succeeded: |
This linter was silently not doing anything until leanprover/lean4#4410 was fixed, and now it is working so a backlog of warnings needed to be addressed. Some were addressed here: #13680. The warnings in this PRs are false positives (leanprover-community/batteries#428?), but a workaround is put in place. Co-authored-by: L Lllvvuu <git@llllvvuu.dev>
Co-authored-by: L Lllvvuu <git@llllvvuu.dev>
This linter was silently not doing anything until leanprover/lean4#4410 was fixed, and now it is working so a backlog of warnings needed to be addressed. Some were addressed here: #13680. The warnings in this PRs are false positives (leanprover-community/batteries#428?), but a workaround is put in place. Co-authored-by: L Lllvvuu <git@llllvvuu.dev>