Skip to content

[Merged by Bors] - chore: port missing instance priorities#3613

Closed
kim-em wants to merge 1 commit intomasterfrom
missing_priorities
Closed

[Merged by Bors] - chore: port missing instance priorities#3613
kim-em wants to merge 1 commit intomasterfrom
missing_priorities

Conversation

@kim-em
Copy link
Copy Markdown
Contributor

@kim-em kim-em commented Apr 24, 2023

See discussion at https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/mathport.20drops.20priorities.20in.20.60attribute.20.5Binstance.5D.60. mathport has been dropping the priorities on instances when using the attribute command.

This PR adds back all the priorities, except for local attribute, and instances involving coercions, which I didn't want to mess with.


Open in Gitpod

@kim-em kim-em added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. labels Apr 24, 2023
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Apr 24, 2023
@eric-wieser
Copy link
Copy Markdown
Member

Was this done by looking through leanprover-community/mathlib3port@ff662d5?

@kim-em
Copy link
Copy Markdown
Contributor Author

kim-em commented Apr 24, 2023

Was this done by looking through leanprover-community/mathlib3port@ff662d5?

This was done by grepping for attribute.*instance.*priority in mathlib3.

@fpvandoorn
Copy link
Copy Markdown
Member

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Apr 24, 2023
bors bot pushed a commit that referenced this pull request Apr 24, 2023
See discussion at https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/mathport.20drops.20priorities.20in.20.60attribute.20.5Binstance.5D.60. `mathport` has been dropping the priorities on instances when using the `attribute` command.

This PR adds back all the priorities, except for `local attribute`, and instances involving coercions, which I didn't want to mess with.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@bors
Copy link
Copy Markdown

bors bot commented Apr 24, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore: port missing instance priorities [Merged by Bors] - chore: port missing instance priorities Apr 24, 2023
@bors bors bot closed this Apr 24, 2023
@bors bors bot deleted the missing_priorities branch April 24, 2023 14:35
kim-em added a commit that referenced this pull request May 10, 2023
See discussion at https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/mathport.20drops.20priorities.20in.20.60attribute.20.5Binstance.5D.60. `mathport` has been dropping the priorities on instances when using the `attribute` command.

This PR adds back all the priorities, except for `local attribute`, and instances involving coercions, which I didn't want to mess with.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
hrmacbeth pushed a commit that referenced this pull request May 10, 2023
See discussion at https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/mathport.20drops.20priorities.20in.20.60attribute.20.5Binstance.5D.60. `mathport` has been dropping the priorities on instances when using the `attribute` command.

This PR adds back all the priorities, except for `local attribute`, and instances involving coercions, which I didn't want to mess with.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
hrmacbeth pushed a commit that referenced this pull request May 11, 2023
See discussion at https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/mathport.20drops.20priorities.20in.20.60attribute.20.5Binstance.5D.60. `mathport` has been dropping the priorities on instances when using the `attribute` command.

This PR adds back all the priorities, except for `local attribute`, and instances involving coercions, which I didn't want to mess with.



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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