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