-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal] [fleche] Absorb errors on document creation and update.
`Doc.t` API has changed: a document that fails to create or update is still valid, but will be set to the right failed state, instead of having the caller handle that case. This is an important API change in order to implement the upcoming ability to re-check documents on environment changes, which is necessary for jsCoq style hotload, auto-build, to name a few.
- Loading branch information
Showing
7 changed files
with
165 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- Tests on document lifetime: | ||
|
||
Checks to do: | ||
|
||
a) check that the errors / messages are properly relayed to the user | ||
b) check that coq-lsp recovers properly | ||
|
||
+ create a .v document, fails when importing the prelude for some weird reason | ||
+ bump a .v document, fails to bump due to having to re-create initial state | ||
|
||
+ For .mv / .wpn documents: same as before, we can also fail due to | ||
bad markdown parsing |