summaryrefslogtreecommitdiff
path: root/dhall/tests/type-inference/failure/unit/FunctionApplicationArgumentNotMatch.txt
blob: e70bbe05d045651ab5d3cd8e4360bf873a3ee6ae (plain)
1
2
3
4
5
6
7
8
9
Type error: error: wrong type of function argument
 --> <current file>:1:2
  |
1 | (λ(_ : Natural) → _) True
  |  ^^^^^^^^^^^^^^^^^^ this expects an argument of type: Natural
  |                      ^^^^ but this has type: Bool
  |
  = note: expected type `Natural`
             found type `Bool`