From 60d554574d246de43976c8b50a38b514b026a72d Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 9 Mar 2019 10:31:17 +0100 Subject: Recursive imports work ! --- dhall/src/imports.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dhall/src/imports.rs b/dhall/src/imports.rs index d6da4d7..ea3ef01 100644 --- a/dhall/src/imports.rs +++ b/dhall/src/imports.rs @@ -35,9 +35,9 @@ fn resolve_import( Local(prefix, path) => { let path = match prefix { Parent => cwd.parent().unwrap().join(path), - _ => unimplemented!(), + _ => unimplemented!("{:?}", import), }; - load_dhall_file(&path, false) + load_dhall_file(&path, true) } } } -- cgit v1.2.3