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
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
It seems that arrays destructuring optimizations with arrow functions are incorrect.
Input code
Config
Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.4.11&code=H4sIAAAAAAAAA%2BNKK81LLsnMz1PIyU8PyUj1y8xL1dBUqOZSUNDQKMlIDckoSk3VUSiByGgq2NqB5RQUkvPzivNzUvWA2jRgskCJWk0NPT29aAVjHQVLhVhNa65aLi5kk625AHmWkb5yAAAA&config=H4sIAAAAAAAAA32US3LbMAyG9z6FR%2Bsu2iwynRygu56BQ5OgTJcPDQE61mR890CU7LgxpJ2EDz9AAiA%2Bdvt9d0LTve0%2F%2BJN%2FBl0Qyv2fLTgm0he2dGCiRlP8QN2PGz3hhJwOCM10nUlHuvRATYUvP3%2F9XhRdyBnhplhs0SfvxsecJsehAOKDja0cskZIhP%2FrF1by%2BwSo1Ef7IecAOm0QpVH5RNBDkQKbHIIeENRZFyHKdFJdPGYpxQQrgVVDyYPIk%2FXkc%2BKcz9SCtspkCwLyBQz5M0gyzsWyhHw94T4NWzjUvm99%2FqaGsw5Vk5ATLq0lfFoh6jF7JOVqkko4w5UazHAp7neld6oA1ZKedafs00pP%2FgFwBYJGTDqCFLd5OJ6nNbXbVPrkeGRpFDjPt3TLBD0XVXnvhMpOlYFCXupmAVsNTJU10nEWvFI%2B9BYUOMezIoTGd0%2FmKCWlcYDsBMD91U6aqhmo%2Bytc4dOD2MB%2F%2BJYkD9jiETUd1ymO8ZDDRoIIdMx2w4FbQXkdF94Sl2Gd12SBRwOs6FKxgeclwA%2BAsgptXz7NBj8Pjqj6kA%2Fimhh4zlsTXxbb9b6co0791xKY9%2FNucehitrXBZfNPTZ%2F39Wv35XRbzffbdB7%2F3pTTSXbXTzRLP3hFBgAA
SWC Info output
console.log(void 0);
Expected behavior
console.log(9);
Actual behavior
console.log(void 0);
Version
1.4.11
Additional context
Original issue: fullcalendar/temporal-polyfill#36
The text was updated successfully, but these errors were encountered: