Idris2/tests/idris2/error002/expected

12 lines
294 B
Plaintext
Raw Normal View History

1/1: Building Error (Error.idr)
Error: While processing right hand side of wrong. Undefined name ys.
Error:6:17--6:19
2021-02-11 20:24:26 +03:00
2 | Nil : Vect Z a
3 | (::) : a -> Vect k a -> Vect (S k) a
4 |
5 | wrong : a -> Vect (S n) a -> Vect (S n) a
2020-07-22 22:16:43 +03:00
6 | wrong xs = x :: ys
2021-02-11 20:24:26 +03:00
^^