Idris2-boot/tests/idris2/basic030/expected
Edwin Brady ebafddcfc9 Look for scrutinee type in case
We can work out what it should be since each case is supposed to have
the same type, so we can look ahead to the alternatives. This way, we
don't have to rely on the scrutinee alone to calculate the type of the
case block. (Idris 1 does this too but I've only just encountered the
need for it in Idris 2 now!)
2020-03-27 14:27:33 +00:00

8 lines
220 B
Plaintext

1/1: Building arity (arity.idr)
arity.idr:4:16--4:22:While processing right hand side of foo at arity.idr:4:1--7:1:
When unifying (1 {arg:169} : Nat) -> MyN and MyN
Mismatch between:
(1 {arg:169} : Nat) -> MyN
and
MyN