This PR fixes an `Elab.async` regression where elaboration tasks are cancelled on document edit even though their result may be reused in the new document version, reporting an incomplete result. While this PR fixes the functional regression, it does so as an over-approximation by never cancelling such tasks. A follow-up PR will implement the correct behavior of only cancelling the tasks that are not reused.
12 lines
316 B
Text
12 lines
316 B
Text
/-
|
|
Copyright (c) 2020 Marc Huisinga. All rights reserved.
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
Authors: Marc Huisinga, Wojciech Nawrocki
|
|
-/
|
|
prelude
|
|
import Lean.Server.Watchdog
|
|
import Lean.Server.FileWorker
|
|
import Lean.Server.Rpc
|
|
import Lean.Server.CodeActions
|
|
import Lean.Server.Test
|