Idris2/tests/idris2/error/perror004/expected
2023-09-07 14:57:22 +01:00

11 lines
290 B
Plaintext

1/1: Building PError (PError.idr)
Error: Wrong number of 'with' arguments: expected 2 but got 3.
PError:4:33--4:34
1 | foo : Nat -> Nat -> Bool
2 | foo x y with (x == y)
3 | foo x y | True with (y == x)
4 | foo x y | True | False | 10 = x
^