Idris2/tests/idris2/error004/expected
Giuseppe Lomurno 5e9837828a Implementations and errors
- Added initial implementations for terms and values
- Error messages converted to pretty printer
- Colorization for error messages
- Color and console width option both as command line and repl command
2020-08-18 19:25:36 +01:00

28 lines
902 B
Plaintext

1/1: Building Error1 (Error1.idr)
Error: While processing right hand side of wrong. Can't find an implementation for Show (Vect 4 Int).
Error1.idr:8:9--9:1
8 | wrong = show (the (Vect _ _) [1,2,3,4])
1/1: Building Error2 (Error2.idr)
Error: While processing right hand side of show. Multiple solutions found in search of:
Show (Vect k Int)
Error2.idr:13:38--13:45
|
13 | show (x :: xs) = show x ++ ", " ++ show xs
| ^^^^^^^
Possible correct results:
Show implementation at Error2.idr:11:1--15:1
Show implementation at Error2.idr:7:1--11:1
Error: While processing right hand side of wrong. Multiple solutions found in search of:
Show (Vect 1 Int)
Error2.idr:16:9--17:1
16 | wrong = show (the (Vect _ _) [1])
Possible correct results:
Show implementation at Error2.idr:11:1--15:1
Show implementation at Error2.idr:7:1--11:1