-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Consider that the body of ClassBody might be of type StaticBlock #5558
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
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thank you for your contribution! ❤️You can try out this pull request locally by installing Rollup via npm install rollup/rollup#chore/class-body-typeNotice: Ensure you have installed the latest stable Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust. or load it into the REPL: |
Performance report!Rough benchmark
Internal benchmark
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5558 +/- ##
=======================================
Coverage 99.04% 99.04%
=======================================
Files 238 238
Lines 9248 9252 +4
Branches 2437 2439 +2
=======================================
+ Hits 9160 9164 +4
Misses 58 58
Partials 30 30 ☔ View full report in Codecov by Sentry. |
lukastaegert
left a comment
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.
Definitely a good fix, thanks. One question, though.
|
This PR has been released as part of [email protected]. You can test it via |
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
I am working on implementing decorator support. During this process, I found that
ClassBodydid not consider thatbodymight be of typeStaticBlock. This PR fixes this issue.The estree link:https://github.com/estree/estree/blob/master/es2022.md#classbody