Idris2/tests/idris2/basic030/expected
Tim Engler 7baf698f66
Made unifying error msg nicer. (#1922)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-09-15 11:57:50 +01:00

15 lines
298 B
Plaintext

1/1: Building arity (arity.idr)
Error: While processing right hand side of foo. When unifying:
Nat -> MyN
and:
MyN
Mismatch between: Nat -> MyN and MyN.
arity:4:16--4:21
1 | data MyN = MkN Nat Nat
2 |
3 | foo : Nat -> Nat -> Nat
4 | foo x y = case MkN x of
^^^^^