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 6d91344 commit f1381a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/src/parser/expr/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fn object_rest_pat() {
span,
is_async: false,
is_generator: false,
params: vec![Pat::Object(ObjectPat {
params: vec![Pat::Object(Box::new(ObjectPat {
span,
optional: false,
props: vec![ObjectPatProp::Rest(RestPat {
Expand All @@ -137,7 +137,7 @@ fn object_rest_pat() {
type_ann: None,
})],
type_ann: None
})],
}))],
body: Box::new(BlockStmtOrExpr::BlockStmt(BlockStmt {
span,
..Default::default()
Expand Down

0 comments on commit f1381a1

Please sign in to comment.