Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Feb 27, 2025
1 parent 05e53c3 commit e6b627c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_ecma_compat_es2017/src/async_to_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ impl Actual {
expr.visit_mut_children_with(self);

match expr {
Expr::Arrow(arrow_expr @ ArrowExpr { is_async: true, .. }) => {
Expr::Arrow(arrow_expr) if arrow_expr.is_async => {
arrow_expr.visit_mut_with(&mut self.hoister);

let mut wrapper = FunctionWrapper::from(arrow_expr.take());
Expand Down

0 comments on commit e6b627c

Please sign in to comment.