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