mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 00:31:57 +03:00
5e9837828a
- 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
28 lines
804 B
Plaintext
28 lines
804 B
Plaintext
1/1: Building Eta (Eta.idr)
|
|
Error: While processing right hand side of etaBad. When
|
|
unifying \x => (\y => (MkTest ?_ ?_)) = \x => (\y => (MkTest ?_ ?_)) and MkTest = \x => (\y => (MkTest ?_ ?_)).
|
|
Mismatch between: Nat and Int.
|
|
|
|
Eta.idr:14:10--14:14
|
|
|
|
|
14 | etaBad = Refl
|
|
| ^^^^
|
|
|
|
1/1: Building Eta2 (Eta2.idr)
|
|
Error: While processing right hand side of test. When unifying \x => (S ?_) = \x => (S ?_) and S = \x => (S ?_).
|
|
Mismatch between: a and Nat.
|
|
|
|
Eta2.idr:2:8--2:12
|
|
|
|
|
2 | test = Refl
|
|
| ^^^^
|
|
|
|
Error: While processing right hand side of test2. When unifying \x => (S ?_) = \x => (S ?_) and S = \x => (S ?_).
|
|
Mismatch between: a and Nat.
|
|
|
|
Eta2.idr:5:44--5:48
|
|
|
|
|
5 | test2 = {a : _} -> the (S = \x : a => S _) Refl
|
|
| ^^^^
|
|
|