lean4-htt/tests/lean/interactive/cancellation.lean.expected.out
Sebastian Ullrich 1421b6145e
fix: cancellation of synchronous part of previous elaboration (#7882)
This PR fixes a regression where elaboration of a previous document
version is not cancelled on changes to the document.

Done by removing the default from `SnapshotTask.cancelTk?` and
consistently passing the current thread's token for synchronous
elaboration steps.
2025-04-10 11:43:41 +00:00

98 lines
2.8 KiB
Text

blocked!
cancelled!
rerun!
{"version": 2, "uri": "file:///cancellation.lean", "diagnostics": []}
blocked!
unblocking!
{"version": 2,
"uri": "file:///cancellation.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 7, "character": 2}, "end": {"line": 7, "character": 18}},
"message": "blocked",
"fullRange":
{"start": {"line": 7, "character": 2}, "end": {"line": 7, "character": 18}}},
{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 7, "character": 2}, "end": {"line": 7, "character": 18}},
"message": "blocked",
"fullRange":
{"start": {"line": 7, "character": 2},
"end": {"line": 7, "character": 18}}}]}
unblocking!
{"version": 2,
"uri": "file:///cancellation.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 7, "character": 2}, "end": {"line": 7, "character": 24}},
"message": "blocked",
"fullRange":
{"start": {"line": 7, "character": 2},
"end": {"line": 7, "character": 24}}}]}
unblocking!
{"version": 2,
"uri": "file:///cancellation.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 7, "character": 2}, "end": {"line": 7, "character": 24}},
"message": "blocked",
"fullRange":
{"start": {"line": 7, "character": 2},
"end": {"line": 7, "character": 24}}}]}
blocked!
unblocking!
{"version": 2,
"uri": "file:///cancellation.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 7, "character": 2}, "end": {"line": 7, "character": 18}},
"message": "blocked",
"fullRange":
{"start": {"line": 7, "character": 2}, "end": {"line": 7, "character": 18}}},
{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 7, "character": 2}, "end": {"line": 7, "character": 18}},
"message": "blocked",
"fullRange":
{"start": {"line": 7, "character": 2},
"end": {"line": 7, "character": 18}}}]}
blocked!
cancelled!
{"version": 2, "uri": "file:///cancellation.lean", "diagnostics": []}
blocked!
cancelled!
{"version": 2, "uri": "file:///cancellation.lean", "diagnostics": []}
unblocking!
{"version": 2,
"uri": "file:///cancellation.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 6, "character": 17}, "end": {"line": 6, "character": 39}},
"message": "blocked",
"fullRange":
{"start": {"line": 6, "character": 17},
"end": {"line": 6, "character": 39}}}]}
blocked!
cancelled!
{"version": 2, "uri": "file:///cancellation.lean", "diagnostics": []}
blocked!
cancelled!
{"version": 2, "uri": "file:///cancellation.lean", "diagnostics": []}
blocked!
cancelled!
{"version": 2, "uri": "file:///cancellation.lean", "diagnostics": []}
blocked!
cancelled!
{"version": 2, "uri": "file:///cancellation.lean", "diagnostics": []}