-
-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of bounds panic in oxc_span/src/span/mod.rs
#6466
Comments
It seems to be a fixing issue with the rule |
The error occurred here, for oxc/crates/oxc_codegen/src/gen.rs Lines 1194 to 1198 in 1ba2a24
oxc/crates/oxc_ast/src/ast_impl/literal.rs Lines 136 to 142 in 1ba2a24
|
Related to #6466 This PR does not fundamentally solve the problem, we need to implement `raw` or `value` for `RegExpLiteral`. https://github.com/oxc-project/oxc/blob/1ba2a247e1e91f1e0e8685bcad0ad132a70c0603/crates/oxc_codegen/src/gen.rs#L1194-L1198 https://github.com/oxc-project/oxc/blob/1ba2a247e1e91f1e0e8685bcad0ad132a70c0603/crates/oxc_ast/src/ast/literal.rs#L94-L101
Fixed by #6474 |
File content(at the bottom should be attached raw, not formatted file - github removes some non-printable characters, so copying from here may not work):
command
cause this
compressed.zip
The text was updated successfully, but these errors were encountered: