Idris2/tests/idris2/reg013/expected
Yu Zhang 08a35d694c
Improving error messages (#786)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2020-11-26 11:35:55 +00:00

30 lines
761 B
Plaintext

1/1: Building UnboundImplicits (UnboundImplicits.idr)
Error: While processing constructor Foo. Undefined name n.
UnboundImplicits.idr:6:22--6:23
|
6 | record Foo (x : Vect n Nat) where
| ^
Error: Undefined name n.
UnboundImplicits.idr:9:24--9:25
|
9 | parameters (Foo : Vect n Nat)
| ^
Error: While processing constructor Foo. Undefined name n.
UnboundImplicits.idr:14:25--14:26
|
14 | interface Foo (a : Vect n Nat) where
| ^
Error: While processing type of Functor implementation at UnboundImplicits.idr:17:1--17:38. Undefined name n.
UnboundImplicits.idr:17:30--17:31
|
17 | implementation Functor (Vect n) where
| ^