summaryrefslogtreecommitdiff
path: root/dhall/src/semantics/tck
diff options
context:
space:
mode:
authorNadrieril2020-02-09 22:07:03 +0000
committerNadrieril2020-02-09 22:07:03 +0000
commitad085a20bc257d03a52708d920cfc65f0e9051e6 (patch)
treefe5767a11a0a2001e115323c6e34fa1fd20ef8cd /dhall/src/semantics/tck
parent21db63d3e614554f258526182c7ed89a2c244b65 (diff)
Remove all types from Value
Diffstat (limited to 'dhall/src/semantics/tck')
-rw-r--r--dhall/src/semantics/tck/tyexpr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhall/src/semantics/tck/tyexpr.rs b/dhall/src/semantics/tck/tyexpr.rs
index 29099c5..05fa4b5 100644
--- a/dhall/src/semantics/tck/tyexpr.rs
+++ b/dhall/src/semantics/tck/tyexpr.rs
@@ -66,8 +66,8 @@ impl TyExpr {
}
/// Eval a closed TyExpr fully and recursively;
pub fn rec_eval_closed_expr(&self) -> Value {
- let mut val = self.eval_closed_expr();
- val.normalize_mut();
+ let val = self.eval_closed_expr();
+ val.normalize();
val
}
}