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