summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt
blob: d3b1f5038b1f6951d896f95a30a89f9fa4dbcd7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[unknown location] Type error: Wrong type of function argument
 --> 1:22
  |
1 | (λ(_ : Natural) → _) True␊
  |                      ^--^
  |
  = This argument has type Value@WHNF { value: AppliedBuiltin(Bool, []), type: Type }
 --> 1:8
  |
1 | (λ(_ : Natural) → _) True␊
  |        ^-----^
  |
  = But the function expected an argument of type Value@WHNF { value: AppliedBuiltin(Natural, []), type: Type }