Add transcripts for fixed issues

This shows that this change fixes #1421, #2826, #5141, and #5168.
This commit is contained in:
Greg Pfeil 2024-07-10 10:57:36 -06:00
parent b657d0dd50
commit 8416708a29
No known key found for this signature in database
GPG Key ID: 1193ACD196ED61F2
8 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,8 @@
```ucm
scratch/main> alias.type ##Nat Nat
scratch/main> alias.term ##Nat.+ Nat.+
```
```unison
unique type A = A Nat
unique type B = B Nat Nat
```

View File

@ -0,0 +1,29 @@
``` ucm
scratch/main> alias.type ##Nat Nat
Done.
scratch/main> alias.term ##Nat.+ Nat.+
Done.
```
``` unison
unique type A = A Nat
unique type B = B Nat Nat
```
``` 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`:
type A
type B
```

View File

@ -0,0 +1,23 @@
```ucm
scratch/main> builtins.mergeio
```
Supports fences that are longer than three backticks.
````unison
doc = {{
@typecheck ```
x = 3
```
}}
````
And round-trips properly.
```ucm
scratch/main> add
scratch/main> edit doc
scratch/main> load scratch.u
```

View File

@ -0,0 +1,66 @@
``` ucm
scratch/main> builtins.mergeio
Done.
```
Supports fences that are longer than three backticks.
```` unison
doc = {{
@typecheck ```
x = 3
```
}}
````
``` 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`:
doc : Doc2
```
And round-trips properly.
``` ucm
scratch/main> add
⍟ I've added these definitions:
doc : Doc2
scratch/main> edit doc
☝️
I added 1 definitions to the top of scratch.u
You can edit them there, then run `update` to replace the
definitions currently in this namespace.
scratch/main> load scratch.u
Loading changes detected in scratch.u.
I found and typechecked the definitions in scratch.u. This
file has been previously added to the codebase.
```
```` unison:added-by-ucm scratch.u
doc : Doc2
doc =
{{
@typecheck ```
x = 3
```
}}
````

View File

@ -0,0 +1,5 @@
<!--
```ucm
.> invalid.command
```
-->

View File

@ -0,0 +1,6 @@
<!--
```ucm
.> invalid.command
```
-->

View File

@ -0,0 +1,4 @@
The `edit` seems to suppress a following ```` ```unison ```` block:
```unison
b = 2
```

View File

@ -0,0 +1,19 @@
The `edit` seems to suppress a following ` ```unison ` block:
``` unison
b = 2
```
``` 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`:
b : ##Nat
```