summaryrefslogtreecommitdiff
path: root/dhall/src/semantics/hir.rs
diff options
context:
space:
mode:
authorNadrieril2020-02-09 22:30:32 +0000
committerNadrieril2020-02-09 22:30:32 +0000
commit35cc98dc767247f4881866de40c7d8dd82eba8a5 (patch)
tree586179e338232b9b389e1ec4d8c96f018d6ab70a /dhall/src/semantics/hir.rs
parentf6732982c522dd579d378ab4820001d5ae107c43 (diff)
Remove types from NzEnv
Diffstat (limited to '')
-rw-r--r--dhall/src/semantics/hir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/semantics/hir.rs b/dhall/src/semantics/hir.rs
index 28b38e3..9ad7374 100644
--- a/dhall/src/semantics/hir.rs
+++ b/dhall/src/semantics/hir.rs
@@ -70,7 +70,7 @@ impl Hir {
/// Eval the Hir. It will actually get evaluated only as needed on demand.
pub fn eval(&self, env: &NzEnv) -> Value {
- Value::new_thunk(env, self.clone())
+ Value::new_thunk(env.clone(), self.clone())
}
/// Eval a closed Hir (i.e. without free variables). It will actually get evaluated only as
/// needed on demand.