From 8bae9a8fab523668e9aea96e4f32cec21e22998a Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 24 Mar 2019 16:25:37 +0100 Subject: Parser import hash and headers --- dhall/src/imports.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall/src/imports.rs') diff --git a/dhall/src/imports.rs b/dhall/src/imports.rs index 8a2edce..8df4e97 100644 --- a/dhall/src/imports.rs +++ b/dhall/src/imports.rs @@ -29,7 +29,7 @@ fn resolve_import( let cwd = match root { LocalDir(cwd) => cwd, }; - match &import.location { + match &import.location_hashed.location { Local(prefix, path) => { let path = match prefix { Parent => cwd.parent().unwrap().join(path), -- cgit v1.2.3