diff options
author | Nadrieril | 2020-02-16 19:06:23 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-16 19:49:44 +0000 |
commit | 130de8cea49c848a06174c61c747d9414a5c71b7 (patch) | |
tree | 201ee2cdb8725e1bdc8e8fcdf3c7c6bcce2063f4 /dhall/tests | |
parent | aa867b21f57f9bef2ec2b9d8450736f9111189ee (diff) |
Start requiring Universe to build a Type
Diffstat (limited to 'dhall/tests')
-rw-r--r-- | dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt | 4 | ||||
-rw-r--r-- | dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt b/dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt index e84eb15..ca5bbcd 100644 --- a/dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt +++ b/dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt @@ -1,7 +1,7 @@ -Type error: error: Invalid input type: `Natural` +Type error: error: Expected a type, found: `1` --> <current file>:1:6 | 1 | λ(_ : 1) → _ | ^ this has type: `Natural` | - = help: The input type of a function must have type `Type`, `Kind` or `Sort` + = help: An expression in type position must have type `Type`, `Kind` or `Sort` diff --git a/dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt b/dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt index 4aa0f4f..168ebb9 100644 --- a/dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt +++ b/dhall/tests/type-inference/failure/unit/FunctionTypeArgumentTypeNotAType.txt @@ -1,7 +1,7 @@ -Type error: error: Invalid input type: `Natural` +Type error: error: Expected a type, found: `2` --> <current file>:1:0 | 1 | 2 → _ | ^ this has type: `Natural` | - = help: The input type of a function must have type `Type`, `Kind` or `Sort` + = help: An expression in type position must have type `Type`, `Kind` or `Sort` |