unison/unison-src/transcripts/fix2354.output.md
Greg Pfeil 0031542faf
Add a space before code block info strings
This is for consistency with the `cmark` style. Now the blocks we still
pretty-print ourselves will match the bulk of them that `cmark`
produces.
2024-07-10 13:56:07 -06:00

29 lines
518 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Tests that delaying an un-annotated higher-rank type gives a normal
type error, rather than an internal compiler error.
``` unison
f : (forall a . a -> a) -> Nat
f id = id 0
x = 'f
```
``` ucm
Loading changes detected in scratch.u.
I found a value of type: (a1 ->{𝕖} a1) ->{𝕖} Nat
where I expected to find: (a -> 𝕣1) -> 𝕣
1 | f : (forall a . a -> a) -> Nat
2 | f id = id 0
3 |
4 | x = 'f
from right here:
1 | f : (forall a . a -> a) -> Nat
```