mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 02:25:39 +03:00
Replicate failure from #4898
This commit is contained in:
parent
6805135654
commit
8b46f81084
17
unison-src/transcripts/fix4898.md
Normal file
17
unison-src/transcripts/fix4898.md
Normal file
@ -0,0 +1,17 @@
|
||||
```ucm
|
||||
.> builtins.merge
|
||||
```
|
||||
|
||||
```unison
|
||||
double : Int -> Int
|
||||
double x = x + x
|
||||
|
||||
redouble : Int -> Int
|
||||
redouble x = double x + double x
|
||||
```
|
||||
|
||||
```ucm
|
||||
.> add
|
||||
.> dependents double
|
||||
.> delete.term 1
|
||||
```
|
58
unison-src/transcripts/fix4898.output.md
Normal file
58
unison-src/transcripts/fix4898.output.md
Normal file
@ -0,0 +1,58 @@
|
||||
```ucm
|
||||
.> builtins.merge
|
||||
|
||||
Done.
|
||||
|
||||
```
|
||||
```unison
|
||||
double : Int -> Int
|
||||
double x = x + x
|
||||
|
||||
redouble : Int -> Int
|
||||
redouble x = double x + double x
|
||||
```
|
||||
|
||||
```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`:
|
||||
|
||||
double : Int -> Int
|
||||
redouble : Int -> Int
|
||||
|
||||
```
|
||||
```ucm
|
||||
.> add
|
||||
|
||||
⍟ I've added these definitions:
|
||||
|
||||
double : Int -> Int
|
||||
redouble : Int -> Int
|
||||
|
||||
.> dependents double
|
||||
|
||||
Dependents of: double
|
||||
|
||||
Terms:
|
||||
|
||||
1. redouble
|
||||
|
||||
Tip: Try `view 1` to see the source of any numbered item in
|
||||
the above list.
|
||||
|
||||
.> delete.term 1
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
🛑
|
||||
|
||||
The transcript failed due to an error in the stanza above. The error is:
|
||||
|
||||
Expected a name, but the numbered arg resulted in #1gupumeruksjs4sb5mg8jcb891dmbufmqrfblfss1sevbl62fr7oud24mpo03jm2qlbdt6ntordsmfj1jovhfsp3mij461odaahfh2g, which is a reference.
|
Loading…
Reference in New Issue
Block a user