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

refactor: nicer modifiers/ranges API #5788

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Conversation

Kha
Copy link
Member

@Kha Kha commented Oct 21, 2024

Cleanup of #5650

  • default Modifiers.stx to missing
  • rename and clarify addDeclarationRangesFromSyntax as the main convenience function for user metaprograms

@Kha Kha requested a review from kim-em October 21, 2024 09:44
@Kha Kha requested a review from digama0 as a code owner October 21, 2024 09:44
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Oct 21, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Oct 21, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Oct 21, 2024
@leanprover-community-bot
Copy link
Collaborator

leanprover-community-bot commented Oct 21, 2024

Mathlib CI status (docs):

  • ✅ Mathlib branch lean-pr-testing-5788 has successfully built against this PR. (2024-10-21 10:44:02) View Log
  • ✅ Mathlib branch lean-pr-testing-5788 has successfully built against this PR. (2024-10-21 12:11:29) View Log
  • ✅ Mathlib branch lean-pr-testing-5788 has successfully built against this PR. (2024-10-22 10:17:51) View Log
  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 45b1b367ca1424f5a3c5fdef84bbeee284998216 --onto 66dbad911eaaec4cd512662bd5cc67a2a16d2484. (2024-10-23 09:23:49)

@leanprover-community-bot leanprover-community-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Oct 21, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Oct 21, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Oct 21, 2024
@Kha
Copy link
Member Author

Kha commented Oct 22, 2024

@kim-em I pushed two cleanup commits based on this to https://github.com/leanprover-community/mathlib4/commits/lean-pr-testing-5788/, I think that's a nice improvement

@Kha Kha enabled auto-merge October 23, 2024 09:01
@Kha Kha added this pull request to the merge queue Oct 23, 2024
Merged via the queue into leanprover:master with commit 174a5f3 Oct 23, 2024
13 checks passed
@Kha Kha deleted the push-qqzkwvsnkrou branch October 23, 2024 14:42
@kim-em
Copy link
Collaborator

kim-em commented Oct 24, 2024

@kim-em I pushed two cleanup commits based on this to https://github.com/leanprover-community/mathlib4/commits/lean-pr-testing-5788/, I think that's a nice improvement

Merged.

tobiasgrosser pushed a commit to opencompl/lean4 that referenced this pull request Oct 27, 2024
Cleanup of leanprover#5650 

* default `Modifiers.stx` to missing
* rename and clarify `addDeclarationRangesFromSyntax` as the main
convenience function for user metaprograms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builds-mathlib CI has verified that Mathlib builds against this PR toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants