summaryrefslogtreecommitdiff
path: root/dhall/src
diff options
context:
space:
mode:
authorNadrieril2019-03-09 10:31:17 +0100
committerNadrieril2019-03-09 10:31:17 +0100
commit60d554574d246de43976c8b50a38b514b026a72d (patch)
treea338041e83800ccb3e4cccaba352e9335340b493 /dhall/src
parent1a644d25f60309ec2fa9a75282841bb7b1ad6269 (diff)
Recursive imports work !
Diffstat (limited to 'dhall/src')
-rw-r--r--dhall/src/imports.rs4
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)
}
}
}