diff options
Diffstat (limited to 'dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt')
-rw-r--r-- | dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt b/dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt new file mode 100644 index 0000000..4aa0f4f --- /dev/null +++ b/dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt @@ -0,0 +1,7 @@ +Type error: error: Invalid input type: `Natural` + --> <current file>:1:0 + | +1 | 2 → _ + | ^ this has type: `Natural` + | + = help: The input type of a function must have type `Type`, `Kind` or `Sort` |