diff options
author | Nadrieril | 2020-02-18 18:46:26 +0000 |
---|---|---|
committer | Nadrieril | 2020-02-18 18:46:26 +0000 |
commit | 50a9dc4b9af19a35a983fe17108453d1d82d80ed (patch) | |
tree | 98346d61e73e565d9ae0b3f28468784f1601714a /dhall/src/semantics/nze | |
parent | ebe43bd6f1fd6feb1564ab9837399de7808b67b5 (diff) |
Remove useless `normalize` option from ToExprOptions
Diffstat (limited to 'dhall/src/semantics/nze')
-rw-r--r-- | dhall/src/semantics/nze/nir.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/dhall/src/semantics/nze/nir.rs b/dhall/src/semantics/nze/nir.rs index 44a23fe..4ed66b7 100644 --- a/dhall/src/semantics/nze/nir.rs +++ b/dhall/src/semantics/nze/nir.rs @@ -137,9 +137,6 @@ impl Nir { } /// Converts a value back to the corresponding AST expression. pub(crate) fn to_expr(&self, opts: ToExprOptions) -> NormalizedExpr { - if opts.normalize { - self.normalize(); - } self.to_hir_noenv().to_expr(opts) } pub(crate) fn to_expr_tyenv(&self, tyenv: &TyEnv) -> NormalizedExpr { |