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