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

fix: snapshot subtree was not restored on reuse #4643

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

Kha
Copy link
Member

@Kha Kha commented Jul 3, 2024

This could lead to nested error messages and info trees vanishing on edits (strictly) below them

Fixes the second issue in #4623

@Kha Kha requested a review from kim-em as a code owner July 3, 2024 13:38
@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 3, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 3, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 3, 2024
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the builds-mathlib CI has verified that Mathlib builds against this PR label Jul 3, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

leanprover-community-mathlib4-bot commented Jul 3, 2024

Mathlib CI status (docs):

@Kha Kha enabled auto-merge July 3, 2024 15:19
@Kha Kha added this pull request to the merge queue Jul 3, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/batteries that referenced this pull request Jul 3, 2024
leanprover-community-mathlib4-bot added a commit to leanprover-community/mathlib4 that referenced this pull request Jul 3, 2024
Merged via the queue into leanprover:master with commit 3fb7f63 Jul 3, 2024
13 checks passed
@Kha Kha deleted the incr-restore-snap branch July 4, 2024 09:46
Kha added a commit that referenced this pull request Jul 4, 2024
This could lead to nested error messages and info trees vanishing on
edits (strictly) below them

Fixes the second issue in #4623
Kha added a commit to Kha/lean4 that referenced this pull request Jul 4, 2024
This could lead to nested error messages and info trees vanishing on
edits (strictly) below them

Fixes the second issue in leanprover#4623
github-merge-queue bot pushed a commit that referenced this pull request Jul 8, 2024
Generalizes #3556 to not suppressing errors in tactic steps either when
the parse error is in a later step, as otherwise changes to the end of a
proof would affect (correctness or effectiveness of) incrementality of
preceding steps.

Fixes #4623, in combination with #4643
Kha added a commit that referenced this pull request Jul 9, 2024
Generalizes #3556 to not suppressing errors in tactic steps either when
the parse error is in a later step, as otherwise changes to the end of a
proof would affect (correctness or effectiveness of) incrementality of
preceding steps.

Fixes #4623, in combination with #4643
Kha added a commit that referenced this pull request Jul 9, 2024
Generalizes #3556 to not suppressing errors in tactic steps either when
the parse error is in a later step, as otherwise changes to the end of a
proof would affect (correctness or effectiveness of) incrementality of
preceding steps.

Fixes #4623, in combination with #4643
Kha added a commit to Kha/lean4 that referenced this pull request Jul 9, 2024
This could lead to nested error messages and info trees vanishing on
edits (strictly) below them

Fixes the second issue in leanprover#4623
Kha added a commit to Kha/lean4 that referenced this pull request Jul 9, 2024
Generalizes leanprover#3556 to not suppressing errors in tactic steps either when
the parse error is in a later step, as otherwise changes to the end of a
proof would affect (correctness or effectiveness of) incrementality of
preceding steps.

Fixes leanprover#4623, in combination with leanprover#4643
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.

2 participants