Skip to content

feat: do not show deprecated syntax warnings inside of deprecated definitions - #14533

Merged
wkrozowski merged 1 commit into
leanprover:masterfrom
wkrozowski:wojciech/silence_deprecated_syntax
Jul 28, 2026
Merged

feat: do not show deprecated syntax warnings inside of deprecated definitions#14533
wkrozowski merged 1 commit into
leanprover:masterfrom
wkrozowski:wojciech/silence_deprecated_syntax

Conversation

@wkrozowski

Copy link
Copy Markdown
Contributor

This PR changes the way deprecates syntax warnings are displayed. Inside of definitions, which are themselves deprecated, deprecated syntax warnings are silenced.

@wkrozowski wkrozowski added the changelog-language Language features and metaprograms label Jul 24, 2026
@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 Jul 24, 2026
@leanprover-bot

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI can not be attempted yet, as the nightly-testing-2026-07-21 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. (2026-07-24 12:27:56)

@github-actions github-actions Bot added the mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN label Jul 24, 2026
@mathlib-lean-pr-testing mathlib-lean-pr-testing Bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Jul 24, 2026
@mathlib-lean-pr-testing

Copy link
Copy Markdown

Mathlib CI status (docs):

@wkrozowski
wkrozowski marked this pull request as ready for review July 28, 2026 09:07
@wkrozowski
wkrozowski requested a review from kim-em as a code owner July 28, 2026 09:07
@wkrozowski
wkrozowski added this pull request to the merge queue Jul 28, 2026
Merged via the queue into leanprover:master with commit 7f7ecd7 Jul 28, 2026
35 checks passed
@wkrozowski
wkrozowski deleted the wojciech/silence_deprecated_syntax branch July 28, 2026 10:05
wkrozowski added a commit to marcelolynch/lean4 that referenced this pull request Jul 29, 2026
…initions (leanprover#14533)

This PR changes the way deprecates syntax warnings are displayed. Inside
of definitions, which are themselves deprecated, deprecated syntax
warnings are silenced.
robsimmons pushed a commit that referenced this pull request Jul 29, 2026
…initions (#14533)

This PR changes the way deprecates syntax warnings are displayed. Inside
of definitions, which are themselves deprecated, deprecated syntax
warnings are silenced.
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 mathlib4-nightly-available A branch for this PR exists at leanprover-community/mathlib4-nightly-testing:lean-pr-testing-NNNN 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.

2 participants