diff options
Diffstat (limited to 'dhall/tests/type-inference/failure/unit/IfBranchesNotType.txt')
-rw-r--r-- | dhall/tests/type-inference/failure/unit/IfBranchesNotType.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dhall/tests/type-inference/failure/unit/IfBranchesNotType.txt b/dhall/tests/type-inference/failure/unit/IfBranchesNotType.txt new file mode 100644 index 0000000..b70ac5f --- /dev/null +++ b/dhall/tests/type-inference/failure/unit/IfBranchesNotType.txt @@ -0,0 +1,6 @@ +Type error: error: IfBranchMustBeTerm + --> <current file>:1:0 + | +1 | if True then Type else Type + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ IfBranchMustBeTerm + | |