Idris2/tests/idris2/coverage007/expected

22 lines
626 B
Plaintext
Raw Normal View History

1/1: Building eq (eq.idr)
Error: badeq x y p is not a valid impossible case.
eq:27:1--27:23
2021-02-11 20:24:26 +03:00
23 | eqL2 : (xs : List a) -> (x :: xs = x :: y :: xs) -> Nat
24 | eqL2 xs p impossible
25 |
26 | badeq : (x : Nat) -> (y : Nat) -> (S (S x) = S y) -> Nat
2020-07-22 22:16:43 +03:00
27 | badeq x y p impossible
2021-02-11 20:24:26 +03:00
^^^^^^^^^^^^^^^^^^^^^^
Error: badeqL xs ys p is not a valid impossible case.
eq:30:1--30:26
2021-02-11 20:24:26 +03:00
26 | badeq : (x : Nat) -> (y : Nat) -> (S (S x) = S y) -> Nat
27 | badeq x y p impossible
28 |
29 | badeqL : (xs : List a) -> (ys : List a) -> (x :: xs = x :: y :: ys) -> Nat
2020-07-22 22:16:43 +03:00
30 | badeqL xs ys p impossible
2021-02-11 20:24:26 +03:00
^^^^^^^^^^^^^^^^^^^^^^^^^