Idris2/tests/idris2/error004/expected
Giuseppe Lomurno e9d46a2650 Fixed tests
2020-06-11 22:46:36 +02:00

27 lines
911 B
Plaintext

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