Skip to content

Conversation

@0xe
Copy link
Contributor

@0xe 0xe commented Dec 18, 2025

Fixes #2220. Throws a syntax error as expected instead of throwing a Kit.codeBug().

Related: #2207 implements support for rest parameters in destructuring.

@gbrail
Copy link
Collaborator

gbrail commented Dec 19, 2025

Looks good to me too and fixes the error. Thanks!

@gbrail gbrail merged commit f3a9949 into mozilla:master Dec 19, 2025
14 of 15 checks passed
@andreabergia andreabergia deleted the scratch/satish/fix-2220 branch December 19, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression in rest parameters in 1.8.2

4 participants