Skip to content

Commit

Permalink
refactor(transformer/arrow-functions): do not inline non-trivial visi…
Browse files Browse the repository at this point in the history
…tor method
  • Loading branch information
overlookmotel committed Jan 7, 2025
1 parent b3566eb commit 3357ac6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,6 @@ impl<'a> VisitMut<'a> for ConstructorBodyThisAfterSuperInserter<'a, '_> {
}

/// `super()` -> `super(); _this = this;`
#[inline]
fn visit_statements(&mut self, statements: &mut ArenaVec<'a, Statement<'a>>) {
let mut new_stmts = vec![];

Expand Down

0 comments on commit 3357ac6

Please sign in to comment.