Idris2/tests/idris2/perror004/expected

11 lines
290 B
Plaintext
Raw Normal View History

1/1: Building PError (PError.idr)
Error: Wrong number of 'with' arguments: expected 2 but got 3.
PError:4:33--4:34
2021-02-15 12:56:48 +03:00
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
2021-02-15 12:56:48 +03:00
^