Skip to content

Commit 4874660

Browse files
committed
Update ComputedMemberExpression::static_property_name for recent changes
1 parent aaaff61 commit 4874660

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/oxc_ast/src/ast_impl

crates/oxc_ast/src/ast_impl/js.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ impl<'a> ComputedMemberExpression<'a> {
502502
{
503503
Some(lit.quasis[0].value.raw.clone())
504504
}
505-
Expression::RegExpLiteral(lit) => Some(Atom::from(lit.raw)),
505+
Expression::RegExpLiteral(lit) => lit.raw.clone(),
506506
_ => None,
507507
}
508508
}

0 commit comments

Comments
 (0)