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

[Backport releases/v4.14.0] fix: avoid new term info around def bodies #6036

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Backport 004430b from #6031.

This PR fixes a regression with go-to-definition and document highlight
misbehaving on tactic blocks.

We explicitly avoid creating term info nodes around `by` blocks, which
#5338 might accidentally do; as the new info is not relevant for the
server, it is instead moved into a custom info.

Reported at
https://leanprover.zulipchat.com/#narrow/channel/270676-lean4/topic/Go-to-def.20for.20tactics.20broken.20on.20v4.2E14.2E0-rc1.

(cherry picked from commit 004430b)
@Kha Kha merged commit 0ad0d4f into releases/v4.14.0 Nov 15, 2024
@Kha Kha deleted the backport-6031-to-releases/v4.14.0 branch November 15, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant