-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix(es/decorators): Fix capacity overflow with decorators #8818
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit a76c2be.
|
export function test() { | ||
var _dec, _initClass, _dec1, _dec2, _initProto; | ||
let _Foo; | ||
_dec = decorate(), _dec1 = decorate(), _dec2 = decorate(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a test for this because I think in my last PR this expression was accidentally above the var
decls, which is not a big deal, but not ideal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swc-bump:
- swc_ecma_transforms_proposal
- swc_core
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated review comment generated by auto-rebase script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated review comment generated by auto-rebase script
Description:
Was looking through the code again and noticed this.
Related issue (if exists): No