unison/unison-src/transcripts/check873.output.md

45 lines
826 B
Markdown
Raw Permalink Normal View History

2019-10-19 18:01:12 +03:00
See [this ticket](https://github.com/unisonweb/unison/issues/873); the point being, this shouldn't crash the runtime. :)
``` unison
2019-10-19 18:01:12 +03:00
(-) = builtin.Nat.sub
```
``` ucm
2019-10-19 18:01:12 +03:00
Loading changes detected in scratch.u.
2019-10-19 18:01:12 +03:00
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`:
- : Nat -> Nat -> Int
2019-10-19 18:01:12 +03:00
```
``` ucm
scratch/main> add
2019-10-19 18:01:12 +03:00
⍟ I've added these definitions:
- : Nat -> Nat -> Int
2019-10-19 18:01:12 +03:00
```
``` unison
2019-10-19 18:01:12 +03:00
baz x = x - 1
```
``` ucm
2019-10-19 18:01:12 +03:00
Loading changes detected in scratch.u.
2019-10-19 18:01:12 +03:00
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`:
baz : Nat -> Int
2019-10-19 18:01:12 +03:00
```