diff options
author | Nadrieril | 2020-11-01 18:59:01 +0000 |
---|---|---|
committer | Nadrieril | 2020-11-01 19:01:04 +0000 |
commit | 8cfb6d563d26abb2fa80124eda2231eb05c7f3e6 (patch) | |
tree | 5f5f987bb55faa903bacf692f19f524bd1aee38e /dhall/tests/import/failure/referentiallyInsane.txt | |
parent | 2ae979a22ee4b79590f74110d61164383c7b5182 (diff) |
feat: add location to import error messages
This is crude but helpful. See #40
Diffstat (limited to '')
-rw-r--r-- | dhall/tests/import/failure/referentiallyInsane.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/dhall/tests/import/failure/referentiallyInsane.txt b/dhall/tests/import/failure/referentiallyInsane.txt index 9b5fe91..1c6852a 100644 --- a/dhall/tests/import/failure/referentiallyInsane.txt +++ b/dhall/tests/import/failure/referentiallyInsane.txt @@ -1 +1,12 @@ -SanityCheck +Type error: error: error + --> <current file>:6:1 + | + 1 | {- The following remote import attempts to import an environment variable, which + 2 | must be disallowed by the referential sanity check + 3 | + 4 | One reason for doing this is to protect against remote imports exfiltrating +... +12 | -} +13 | https://raw.githubusercontent.com/dhall-lang/dhall-lang/master/tests/import/data/referentiallyOpaque.dhall + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SanityCheck + | |