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

518 B
Raw Permalink Blame History

Tests that delaying an un-annotated higher-rank type gives a normal type error, rather than an internal compiler error.

f : (forall a . a -> a) -> Nat
f id = id 0

x = 'f

  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