Idris2/tests/idris2/reg007/expected
Tim Engler 7baf698f66
Made unifying error msg nicer. (#1922)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-09-15 11:57:50 +01:00

16 lines
540 B
Plaintext

1/1: Building Main (Main.idr)
Error: While processing right hand side of dpairWithExtraInfoBad. When unifying:
[MN 0, MN 0]
and:
[MN 0]
Mismatch between: [MN 0] and [].
Main:27:27--27:36
23 | dpairWithExtraInfoWorks : List (vars : List Name ** Expr vars)
24 | dpairWithExtraInfoWorks = [([MN 0] ** CLocal {x=MN 0} (First {ns=[]}))]
25 |
26 | dpairWithExtraInfoBad : List (vars : List Name ** Expr vars)
27 | dpairWithExtraInfoBad = [([MN 0] ** CLocal {x=MN 0} (First {ns=[MN 0]}))]
^^^^^^^^^