From 8abb6c24cd26b64d708a74faaa28cc9294dc3466 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 9 Feb 2020 17:47:58 +0000 Subject: Move ui outputs to a sensible place --- .../type-inference/failure/unit/FunctionArgumentTypeNotAType.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt (limited to 'dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt') diff --git a/dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt b/dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt new file mode 100644 index 0000000..e84eb15 --- /dev/null +++ b/dhall/tests/type-inference/failure/unit/FunctionArgumentTypeNotAType.txt @@ -0,0 +1,7 @@ +Type error: error: Invalid input type: `Natural` + --> :1:6 + | +1 | λ(_ : 1) → _ + | ^ this has type: `Natural` + | + = help: The input type of a function must have type `Type`, `Kind` or `Sort` -- cgit v1.2.3