-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5493 from unisonweb/24-12-05-add-todo-watch
bugfix: allow add/update in presence of crashing watch expression
- Loading branch information
Showing
4 changed files
with
80 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
``` ucm | ||
scratch/main> builtins.mergeio | ||
Done. | ||
``` | ||
|
||
``` unison :error | ||
> todo "" | ||
foo = 42 | ||
``` | ||
|
||
``` ucm :added-by-ucm | ||
Loading changes detected in scratch.u. | ||
I found and typechecked these definitions in scratch.u. If you | ||
do an `add` or `update`, here's how your codebase would | ||
change: | ||
⍟ These new definitions are ok to `add`: | ||
foo : Nat | ||
Now evaluating any watch expressions (lines starting with | ||
`>`)... Ctrl+C cancels. | ||
💔💥 | ||
I've encountered a call to builtin.todo with the following | ||
value: | ||
"" | ||
Stack trace: | ||
todo | ||
#0k89ebstt4 | ||
``` | ||
|
||
``` ucm | ||
scratch/main> add | ||
⍟ I've added these definitions: | ||
foo : Nat | ||
``` |