Skip to content

feat: allow Lean.Linter to access the environment from before starting to elaborate the top-level command#13744

Draft
wkrozowski wants to merge 5 commits into
leanprover:masterfrom
wkrozowski:wojciech/newDecls2
Draft

feat: allow Lean.Linter to access the environment from before starting to elaborate the top-level command#13744
wkrozowski wants to merge 5 commits into
leanprover:masterfrom
wkrozowski:wojciech/newDecls2

Conversation

@wkrozowski
Copy link
Copy Markdown
Contributor

This PR is an experimental PR that allows Lean.Linter linters to access the environment from before elaborating the current top-level command. This is an alternative to #13731

@wkrozowski wkrozowski added the changelog-language Language features and metaprograms label May 15, 2026
@wkrozowski wkrozowski changed the title feat: allow Lean.Linter to access the environment from before starting to elaborate the top-.level command feat: allow Lean.Linter to access the environment from before starting to elaborate the top-level command May 15, 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 May 15, 2026
@mathlib-lean-pr-testing
Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 793cd14b3816dfec686daa8515d6fc750c6f7326 --onto 803553a556fd82fa1060efb0c43eda542130cb16. You can force Mathlib CI using the force-mathlib-ci label. (2026-05-15 17:01:30)

@leanprover-bot
Copy link
Copy Markdown
Collaborator

Reference manual CI status:

  • ❗ Reference manual CI will not be attempted unless your PR branches off the nightly-with-manual branch. Try git rebase 793cd14b3816dfec686daa8515d6fc750c6f7326 --onto 803553a556fd82fa1060efb0c43eda542130cb16. You can force reference manual CI using the force-manual-ci label. (2026-05-15 17:01:32)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants