Skip to content
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] - fix: split alias in no_lost_declarations #14388

Closed
wants to merge 2 commits into from

Conversation

adomani
Copy link
Collaborator

@adomani adomani commented Jul 3, 2024

This PR is a fix for the mislabeling reported in #13337. It "splits"

[+-]alias ⟨d1, d2⟩ := d

into

[+-]alias d1 := d
[+-]alias d2 := d

before feeding it to the usual filter. Presumably, reproducing the := d parts is irrelevant, but it looks nicer!


Open in Gitpod

Copy link

github-actions bot commented Jul 3, 2024

PR summary 09d2548112

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ d1
+ d2

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>

@adomani adomani changed the title fix: split alias fix: split alias in no_lost_declarations Jul 4, 2024
@adomani adomani changed the title fix: split alias in no_lost_declarations fix: split alias in no_lost_declarations Jul 4, 2024
Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

maintainer merge

Copy link

github-actions bot commented Jul 4, 2024

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@jcommelin
Copy link
Member

Thanks 🎉

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jul 5, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jul 5, 2024
This PR is a fix for the mislabeling reported in #13337.  It "splits"

```lean
[+-]alias ⟨d1, d2⟩ := d
```
into
```lean
[+-]alias d1 := d
[+-]alias d2 := d
```
before feeding it to the usual filter.  Presumably, reproducing the `:= d` parts is irrelevant, but it looks nicer!
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jul 5, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title fix: split alias in no_lost_declarations [Merged by Bors] - fix: split alias in no_lost_declarations Jul 5, 2024
@mathlib-bors mathlib-bors bot closed this Jul 5, 2024
@mathlib-bors mathlib-bors bot deleted the adomani/decl_diff_split_alias branch July 5, 2024 09:16
@adomani adomani mentioned this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintainer-merge ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants