Skip to content

fix: snapshot subtree was not restored on reuse - #4643

Merged
Kha merged 2 commits into
leanprover:masterfrom
Kha:incr-restore-snap
Jul 3, 2024
Merged

Kha merged 2 commits into
leanprover:masterfrom
Kha:incr-restore-snap

Conversation

@Kha

@Kha Kha commented Jul 3, 2024

Copy link
Copy Markdown
Member

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
ghost pushed a commit to leanprover-community/batteries that referenced this pull request Jul 3, 2024
ghost pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jul 3, 2024
@ghost ghost added the builds-mathlib CI has verified that Mathlib builds against this PR label Jul 3, 2024
@ghost

ghost commented Jul 3, 2024 •

Copy link
Copy Markdown

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
ghost pushed a commit to leanprover-community/batteries that referenced this pull request Jul 3, 2024
ghost pushed 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
@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.

1 participant