Fix builds.

This commit is contained in:
Stephen Chung 2022-06-09 18:06:00 +08:00
parent dcaac20eb9
commit a31a4e4887

View File

@ -811,7 +811,7 @@ impl AST {
#[cfg(not(feature = "no_module"))]
#[inline(always)]
pub(crate) fn walk(&self, on_node: &mut impl FnMut(&[ASTNode]) -> bool) -> bool {
self.walk_raw(on_node)
self._walk(on_node)
}
/// _(internals)_ Recursively walk the [`AST`], including function bodies (if any).
/// Return `false` from the callback to terminate the walk.