Skip to content

Conversation

@nomeata
Copy link
Collaborator

@nomeata nomeata commented Oct 15, 2025

This PR changes match compilation to reject some pattern matches that were previously accepted due to inaccessible patterns sometimes treated like accessible ones. Fixes #10794.

@nomeata nomeata added the changelog-language Language features and metaprograms label Oct 15, 2025
@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 15, 2025
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 114f7e42f1abd10885e91698cd2910b1e4d76083 --onto 14ff08db6f651775ead432d367b6b083878bb0f9. You can force Mathlib CI using the force-mathlib-ci label. (2025-10-15 17:32:41)

@leanprover-bot
Copy link
Collaborator

leanprover-bot commented Oct 15, 2025

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 114f7e42f1abd10885e91698cd2910b1e4d76083 --onto d3dda9f6d4428a906c096067ecb75e432afc4615. You can force reference manual CI using the force-manual-ci label. (2025-10-15 17:32:43)
  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2025-10-17 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-manual, reference manual CI should run now. You can force reference manual CI using the force-manual-ci label. (2025-10-17 16:01:39)

@nomeata nomeata added the awaiting-mathlib We should not merge this until we have a successful Mathlib build label Oct 17, 2025
@nomeata nomeata marked this pull request as ready for review October 17, 2025 15:01
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Oct 17, 2025
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4-nightly-testing that referenced this pull request Oct 17, 2025
@leanprover-community-bot leanprover-community-bot added builds-mathlib CI has verified that Mathlib builds against this PR and removed awaiting-mathlib We should not merge this until we have a successful Mathlib build labels Oct 17, 2025
@leanprover-community-bot
Copy link
Collaborator

@nomeata nomeata added this pull request to the merge queue Oct 17, 2025
Merged via the queue into master with commit c221000 Oct 17, 2025
30 of 31 checks passed
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 changelog-language Language features and metaprograms 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.

match compilation: inaccessible pattern can case match arm to be skipped

4 participants