You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'main' panicked at crates/swc_ecma_compat_es2015/src/destructuring.rs:1165:44:
called `Option::unwrap()` on a `None` value
thread 'main' panicked at /home/runner/work/Automated-Fuzzer/Automated-Fuzzer/swc-main/crates/swc_common/src/source_map.rs:662:60:
byte index 6 is not a char boundary; it is inside '\u{feff}' (bytes 4..7) of `void#!shßpublicb`
thread 'main' panicked at crates/swc_ecma_compat_es2021/src/logical_assignments.rs:155:50:
called `Result::unwrap()` on an `Err` value: Invalid(Invalid { span: 0..0#0 })
thread 'main' panicked at crates/swc_ecma_compat_es2015/src/destructuring.rs:409:52:
internal error: entered unreachable code: Object rest pattern should be removed by es2018::object_rest_spread pass
Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
Describe the bug
Using
swc compile
on this filesUntitled Folder.zip
More files
REPORTS___SWC___LONG_1.zip
causes several crashes/timeouts like
Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.6.8-nightly-20240706.1&code=H4sIAAAAAAAAAytLLFKoVrA0MDA3tLQ0MjUxNzGwtDTMs1LILFGoVbDFLmeoUGsNAF7PY0A5AAAA&config=H4sIAAAAAAAAA42VS47bMAyG93OKwOtZtIsCgx6gu55BUCzKUSqJhkhlEgxy99KKnUkntNFNEPPjw6R%2Byh8vu113pL77ufuQv%2FIw2kJQ7s9ioUtmexZLB32y1Jcwcve60CNNiEuFZrneQMe2DMAtiH7M3l1EJJi9Z1MKOfjLY7ke01iA6MEmVklXE2SezN5GgtdHVvCd%2Fsnb7HvECDZvEGPJhMwwQNES9xijHQnMyRYly%2FSmtgRCrcQEK4MzY8FR5dkFDpil5jN1YJ3p0YGCQoGewwm0MKklYZmkPaWfhh3s6zC0I%2F4SDScbq2WlJpzbkcjbKlkPGIiNr1kb4Q2uzOAG5%2BF%2BjQzeFOBa8nPcEUNeOZM%2FADKBaImyTaDlbR5e9LQW7TcjQ%2FYiWb4oXOStdZlhkKGaELwy2WkyUDhop1nA1R6myfba68x4ZXwUHBjwXrSipKb3wP1BK8qXEdArQM7Xek1VN2DuW7jCp4XYwL%2BkS9YFNnsky4d1Spe0x7hRIAEf0G04yFEwruMit8R5XOc1OxBpgFNdKjXwfAnIAjCa2O7KJ23IekhGM0Tcf14Ts8P1fgUnm4e27w%2F3JeMY4QRxTcb%2FsSKbVN7tNKl62eyn7YU3TZRWFi98%2F7agpZWX5bc11SV09aGhpsnpUyISSpiP1H16Lp%2BPZXRdoN9L9K3E9S9CLntR5AYAAA%3D%3D
SWC Info output
No response
Expected behavior
No crashes
Actual behavior
No response
Version
https://github.com/swc-project/swc/commit/ da9844b
Additional context
No response
The text was updated successfully, but these errors were encountered: