diff options
Diffstat (limited to '')
-rw-r--r-- | dhall_core/src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs index 2d47ad7..e520f05 100644 --- a/dhall_core/src/parser.rs +++ b/dhall_core/src/parser.rs @@ -604,7 +604,7 @@ make_parser! { spanned(span, BoolIf(rc(cond), rc(left), rc(right))) }, [let_binding(bindings).., in_(()), expression(final_expr)] => { - bindings.fold( + bindings.rev().fold( final_expr, |acc, x| Let(x.0, x.1, x.2, rc(acc)) ) |