Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Feb 22, 2024
1 parent d23ec9d commit 7b4545a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_visit_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ fn make(mode: Mode, stmts: &[Stmt]) -> Quote {
Mode::Fold(VisitorVariant::WithPath)
| Mode::VisitMut(VisitorVariant::WithPath)
| Mode::Visit(VisitorVariant::WithPath) => {
parse_quote!({ fn_name(self, n, __ast_path) })
parse_quote!({ #fn_name(self, n, __ast_path) })
}

Mode::VisitAll => Block {
Expand Down

0 comments on commit 7b4545a

Please sign in to comment.