The `Function::add_rest_param()` function can panic with the following error message: ``` thread 'main' panicked at 'Could not get slice', boa/src/builtins/regexp/mod.rs:413:56 ``` This has been observed when running [this](https://github.com/tc39/test262/blob/6cf3433cf8f44c471a7e4f47e5ba36d32ebb7b69/test/built-ins/RegExp/prototype/exec/failure-g-lastindex-reset.js) ECMAScript test. Interestingly this only happens when executing the full test suite, and not if we ask the backtrace or run the test individually.
Activity