summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt
blob: 01facbcdedc2885648dae2e79679341e712bd7ad (plain)
1
2
3
4
5
6
7
8
9
Type error: Unhandled 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`