This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
🐛 Crash at empty default export #4670
Labels
A-Parser
Area: parser
L-JavaScript
Langauge: JavaScript
S-Bug: confirmed
Status: report has been confirmed as a valid bug
Environment information
What happened?
Empty default export,
export default
orexport default ;
causes a crash withthread '<unnamed>' panicked at 'Marker must either be completed or abandoned to avoid that children are implicitly attached to a marker's parent.', /.cargo/registry/src/index.crates.io-6f17d22bba15001f/drop_bomb-0.1.5/src/lib.rs:113:13
Affected Formatters:
rome_format_d_ts
rome_format_jsx
rome_format_module
rome_format_script
rome_format_tsx
rome_format_typescript
Expected result
Should not crash.
Code of Conduct
The text was updated successfully, but these errors were encountered: