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