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