diff options
author | Nadrieril | 2019-03-09 10:31:17 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-09 10:31:17 +0100 |
commit | 60d554574d246de43976c8b50a38b514b026a72d (patch) | |
tree | a338041e83800ccb3e4cccaba352e9335340b493 | |
parent | 1a644d25f60309ec2fa9a75282841bb7b1ad6269 (diff) |
Recursive imports work !
Diffstat (limited to '')
-rw-r--r-- | dhall/src/imports.rs | 4 |
1 files 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) } } } |