summaryrefslogtreecommitdiff
path: root/dhall/tests
diff options
context:
space:
mode:
Diffstat (limited to 'dhall/tests')
-rw-r--r--dhall/tests/type-errors/SortInLet.txt1
-rw-r--r--dhall/tests/type-inference/failure/SortInLet.dhall1
2 files changed, 2 insertions, 0 deletions
diff --git a/dhall/tests/type-errors/SortInLet.txt b/dhall/tests/type-errors/SortInLet.txt
new file mode 100644
index 0000000..5b88ff7
--- /dev/null
+++ b/dhall/tests/type-errors/SortInLet.txt
@@ -0,0 +1 @@
+Type error: Unhandled error: Sort
diff --git a/dhall/tests/type-inference/failure/SortInLet.dhall b/dhall/tests/type-inference/failure/SortInLet.dhall
new file mode 100644
index 0000000..b19b882
--- /dev/null
+++ b/dhall/tests/type-inference/failure/SortInLet.dhall
@@ -0,0 +1 @@
+let x = Sort in 0