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