Skip to content

[Merged by Bors] - fix: split alias in no_lost_declarations#14388

Closed
adomani wants to merge 2 commits intomasterfrom
adomani/decl_diff_split_alias
Closed

[Merged by Bors] - fix: split alias in no_lost_declarations#14388
adomani wants to merge 2 commits intomasterfrom
adomani/decl_diff_split_alias

Conversation

@adomani
Copy link
Copy Markdown
Contributor

@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

@github-actions
Copy link
Copy Markdown

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
Copy Markdown
Contributor

@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

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 4, 2024

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

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jul 4, 2024
@jcommelin
Copy link
Copy Markdown
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
Copy Markdown
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 A reviewer has approved the changed; awaiting maintainer approval. 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