diff options
author | Nadrieril | 2019-03-06 23:35:39 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-06 23:35:39 +0100 |
commit | 54382cd107d1befd6015f8232716158a20db44a4 (patch) | |
tree | 81afc63e474ad58f384dde36550f9d50756c5217 /dhall/src/normalize.rs | |
parent | 39fc0af2548127a7c2ee1345d4ea63d473e0ab5a (diff) |
Start parsing imports
Diffstat (limited to '')
-rw-r--r-- | dhall/src/normalize.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/normalize.rs b/dhall/src/normalize.rs index ec594da..b46722a 100644 --- a/dhall/src/normalize.rs +++ b/dhall/src/normalize.rs @@ -145,7 +145,7 @@ where }, // Normalize everything else before matching - e => match e.map_shallow(normalize, |_| unreachable!()) { + e => match e.map_shallow(normalize, |_| unreachable!(), |x| x.clone()) { BinOp(BoolAnd, box BoolLit(x), box BoolLit(y)) => BoolLit(x && y), BinOp(BoolOr, box BoolLit(x), box BoolLit(y)) => BoolLit(x || y), BinOp(BoolEQ, box BoolLit(x), box BoolLit(y)) => BoolLit(x == y), |