Skip to content

Commit

Permalink
refactor: use enter instead of exit in expression.
Browse files Browse the repository at this point in the history
  • Loading branch information
7086cmd committed Oct 2, 2024
1 parent 63d18f8 commit 701411f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ impl<'a> Traverse<'a> for PeepholeSubstituteAlternateSyntax {
self.changed = true;
}
}
}

fn exit_expression(&mut self, expr: &mut Expression<'a>, ctx: &mut TraverseCtx<'a>) {
if !self.compress_undefined(expr, ctx) {
self.compress_boolean(expr, ctx);
}
Expand Down

0 comments on commit 701411f

Please sign in to comment.