Idris2/tests/idris2/perror010/expected
Guillaume ALLAIS 87c1cb697f [ repl ] better printing of holes
* Fixed printing in the IDEMode (& include highlighting)
* Now also print the type of the holes
2021-09-19 17:49:51 +01:00

41 lines
1.1 KiB
Plaintext

1/1: Building NamedReturn1 (NamedReturn1.idr)
Error: Cannot return a named argument.
NamedReturn1:1:24--1:37
1 | not : (arg1 : Bool) -> (arg2 : Bool)
^^^^^^^^^^^^^
1/1: Building NamedReturn2 (NamedReturn2.idr)
Error: Cannot return an implicit argument.
NamedReturn2:1:24--1:37
1 | not : (arg1 : Bool) -> {arg2 : Bool}
^^^^^^^^^^^^^
1/1: Building NamedReturn3 (NamedReturn3.idr)
Error: Cannot return an auto implicit argument.
NamedReturn3:1:24--1:42
1 | not : (arg1 : Bool) -> {auto arg2 : Bool}
^^^^^^^^^^^^^^^^^^
1/1: Building NamedReturn4 (NamedReturn4.idr)
Error: Cannot return a default implicit argument.
NamedReturn4:1:24--1:50
1 | not : (arg1 : Bool) -> {default arg2 True : Bool}
^^^^^^^^^^^^^^^^^^^^^^^^^^
1/1: Building TrailingLam (TrailingLam.idr)
Warning: DEPRECATED: trailing lambda. Use a $ or parens
TrailingLam:3:9--3:22
1 |
2 | f : (Nat -> Nat) -> Nat
3 | f k = f \n => k (S n)
^^^^^^^^^^^^^
Main> 1 hole: Main.a : Nat -> Nat
Main>
Bye for now!