Skip to content

Commit

Permalink
fix fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jul 11, 2024
1 parent 3346013 commit 6ee4638
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/swc_ecma_transforms_base/src/fixer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ use rustc_hash::FxHasher;
use swc_common::{comments::Comments, util::take::Take, Span, Spanned, DUMMY_SP};
use swc_ecma_ast::*;
use swc_ecma_utils::stack_size::maybe_grow_default;
use swc_ecma_visit::{as_folder, standard_only_visit_mut, Fold, VisitMut, VisitMutWith};
use swc_ecma_visit::{
as_folder, noop_visit_mut_type, standard_only_visit_mut, Fold, VisitMut, VisitMutWith,
};

/// Fixes ast nodes before printing so semantics are preserved.
///
Expand Down Expand Up @@ -100,7 +102,7 @@ impl Fixer<'_> {
}

impl VisitMut for Fixer<'_> {
standard_only_visit_mut!();
noop_visit_mut_type!();

array!(visit_mut_array_lit, ArrayLit);

Expand Down

0 comments on commit 6ee4638

Please sign in to comment.