-
Notifications
You must be signed in to change notification settings - Fork 1k
[Merged by Bors] - feat(to_dual): linter for redundant uses of to_dual/to_additive
#33239
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] - feat(to_dual): linter for redundant uses of to_dual/to_additive
#33239
Conversation
PR summary bb55063693Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
As always I'd like to give thanks for the useful code, and express my regrets for being unable to review the metaprogramming. |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
|
This pull request has conflicts, please merge |
|
|
||
| @[to_additive Inseparable.enorm_eq_enorm] | ||
| theorem Inseparable.enorm_eq_enorm' {E : Type*} [TopologicalSpace E] [ContinuousENorm E] | ||
| theorem Inseparable.enorm_eq_enorm {E : Type*} [TopologicalSpace E] [ContinuousENorm E] |
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.
The primed version and unprimed version were literally the same thing. This was caught by the linter.
bryangingechen
left a comment
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.
Thanks!
bors r+
…33239) This PR adds a linter that helps avoid unneccessary uses of `to_dual`/`to_additive`. With `to_dual self` it can sometimes be hard to tell if it's actually doing anything or not, so this will help with that.
|
Build failed: |
|
bors d+ |
|
✌️ JovanGerb can now approve this pull request. To approve and merge a pull request, simply reply with |
|
bors r+ |
…33239) This PR adds a linter that helps avoid unneccessary uses of `to_dual`/`to_additive`. With `to_dual self` it can sometimes be hard to tell if it's actually doing anything or not, so this will help with that.
|
Pull request successfully merged into master. Build succeeded: |
to_dual/to_additiveto_dual/to_additive
…eanprover-community#33239) This PR adds a linter that helps avoid unneccessary uses of `to_dual`/`to_additive`. With `to_dual self` it can sometimes be hard to tell if it's actually doing anything or not, so this will help with that.
…eanprover-community#33239) This PR adds a linter that helps avoid unneccessary uses of `to_dual`/`to_additive`. With `to_dual self` it can sometimes be hard to tell if it's actually doing anything or not, so this will help with that.
This PR adds a linter that helps avoid unneccessary uses of
to_dual/to_additive. Withto_dual selfit can sometimes be hard to tell if it's actually doing anything or not, so this will help with that.