From 73af29fb11517f85043d8a866697b150dc7c2191 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 23 Feb 2020 20:56:03 +0000 Subject: Add a bunch of tests --- dhall/tests/type-inference/failure/unit/LetInSort.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dhall/tests/type-inference/failure/unit/LetInSort.txt (limited to 'dhall/tests/type-inference/failure/unit/LetInSort.txt') diff --git a/dhall/tests/type-inference/failure/unit/LetInSort.txt b/dhall/tests/type-inference/failure/unit/LetInSort.txt new file mode 100644 index 0000000..07be298 --- /dev/null +++ b/dhall/tests/type-inference/failure/unit/LetInSort.txt @@ -0,0 +1,6 @@ +Type error: error: Sort does not have a type + --> :1:18 + | +1 | \(x: let x = 0 in Sort) -> 1 + | ^^^^ Sort does not have a type + | -- cgit v1.2.3