summaryrefslogtreecommitdiff
path: root/dhall/tests/import/failure/importBoundary.txt
diff options
context:
space:
mode:
authorNadrieril2020-11-01 18:59:01 +0000
committerNadrieril2020-11-01 19:01:04 +0000
commit8cfb6d563d26abb2fa80124eda2231eb05c7f3e6 (patch)
tree5f5f987bb55faa903bacf692f19f524bd1aee38e /dhall/tests/import/failure/importBoundary.txt
parent2ae979a22ee4b79590f74110d61164383c7b5182 (diff)
feat: add location to import error messages
This is crude but helpful. See #40
Diffstat (limited to 'dhall/tests/import/failure/importBoundary.txt')
-rw-r--r--dhall/tests/import/failure/importBoundary.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/dhall/tests/import/failure/importBoundary.txt b/dhall/tests/import/failure/importBoundary.txt
index 56810e2..6ddb326 100644
--- a/dhall/tests/import/failure/importBoundary.txt
+++ b/dhall/tests/import/failure/importBoundary.txt
@@ -1,7 +1,12 @@
-Type error: error: unbound variable `x`
+Type error: error: error
+ --> <current file>:1:15
+ |
+1 | \(x: Bool) -> ../data/importBoundary.dhall
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type error: error: unbound variable `x`
--> <current file>:1:1
|
...
3 | x
| ^ not found in this scope
|
+ |