diff --git a/src/lib.rs b/src/lib.rs index d01d5b8..9718e32 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -371,10 +371,8 @@ impl<'a> Fold for LinguiMacroFolder { } let mut folder = JsMacroFolder::new(&mut self.ctx); - folder.fold_expr(expr).fold_children_with(self) } - fn fold_call_expr(&mut self, expr: CallExpr) -> CallExpr { // If no package that we care about is imported, skip the following // transformation logic.