diff options
author | Nadrieril | 2019-05-07 21:53:00 +0200 |
---|---|---|
committer | Nadrieril | 2019-05-07 21:53:00 +0200 |
commit | e3054cbbeb84bbaec626689c53584e54ca515d3e (patch) | |
tree | 72924a3e88e12e55dd6b3ab5ffcbe58a272a2c1c /dhall_syntax | |
parent | 372c78ab875c8aa1e967ffb594f26df8beb43bea (diff) |
Don't discard normalization work done by typechecking
Diffstat (limited to 'dhall_syntax')
-rw-r--r-- | dhall_syntax/src/core/expr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_syntax/src/core/expr.rs b/dhall_syntax/src/core/expr.rs index 2b76b9a..113512b 100644 --- a/dhall_syntax/src/core/expr.rs +++ b/dhall_syntax/src/core/expr.rs @@ -227,7 +227,7 @@ impl<SE, L, E> ExprF<SE, L, E> { v.visit(self) } - fn traverse_ref_with_special_handling_of_binders<'a, SE2, L2, E2, Err>( + pub fn traverse_ref_with_special_handling_of_binders<'a, SE2, L2, E2, Err>( &'a self, visit_subexpr: impl FnMut(&'a SE) -> Result<SE2, Err>, visit_under_binder: impl FnOnce(&'a L, &'a SE) -> Result<SE2, Err>, |