summaryrefslogtreecommitdiff
path: root/dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt
blob: ca5bbcd03f0ee712fbea9b4b8fea1145531d4476 (plain)
1
2
3
4
5
6
7
Type error: error: Expected a type, found: `1`
 --> <current file>:1:6
  |
1 | λ(_ : 1) → _
  |       ^ this has type: `Natural`
  |
  = help: An expression in type position must have type `Type`, `Kind` or `Sort`