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
Private Static Class Methods (Stage 3) #9446
Conversation
8893a12
to
f502e36
Compare
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/10419/ |
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/9967/ |
@nicolo-ribaudo should this be considered a part of the |
I'd say yes, but let's also wait for @littledan 's opinion. |
Yes, I would include it in the private methods package. (If anyone has concerns, please let me know and I can provide more detailed rationale.) |
f502e36
to
c0cdb5d
Compare
c0cdb5d
to
5b2b943
Compare
I've incorporated changes from #9508 into my PR since it solves a problem I ran into with handling |
060980b
to
22784fe
Compare
Support for both spec and loose modes have now been added. I'll see if I can figure out any more necessary test cases, but I think the PR is ready to start reviewing at this point. cc: @nicolo-ribaudo Keep in mind that un-merged changes from #9508 are present in this PR as well. |
I have merged #9508 |
...ges/babel-plugin-proposal-private-methods/test/fixtures/private-static-method/basic/input.js
Show resolved
Hide resolved
packages/babel-helper-create-class-features-plugin/src/fields.js
Outdated
Show resolved
Hide resolved
22784fe
to
fcc885a
Compare
@nicolo-ribaudo thanks, updated. |
a2c7da1
to
eedf3b3
Compare
packages/babel-helper-create-class-features-plugin/src/fields.js
Outdated
Show resolved
Hide resolved
eedf3b3
to
6cf450f
Compare
packages/babel-helper-create-class-features-plugin/src/fields.js
Outdated
Show resolved
Hide resolved
87781fd
to
717c7f9
Compare
717c7f9
to
1ff5e2a
Compare
1ff5e2a
to
c58bad1
Compare
Erm... not sure why this happened |
We enabled it to avoid size regressions but it doesn't work well after rebases. |
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.
LGTM
I removed the "WIP" comment from the description. The PR is ready on my end. |
Thank you! |
* master: (58 commits) Remove dependency on home-or-tmp package (babel#9678) [proposal-object-rest-spread] fix templateLiteral in extractNormalizedKeys (babel#9628) Partial application plugin (babel#9474) Private Static Class Methods (Stage 3) (babel#9446) gulp-uglify@3.0.2 rollup@1.6.0 eslint@5.15.1 jest@24.5.0 regexpu-core@4.5.4 Remove input and length from state (babel#9646) Switch from rollup-stream to rollup and update deps (babel#9640) System modules - Hoist classes like other variables (babel#9639) fix: Don't transpile ES2018 symbol properties (babel#9650) Add WarningsToErrorsPlugin to webpack to avoid missing build problems on CI (babel#9647) Update regexpu-core dependency (babel#9642) Add placeholders support to @babel/types and @babel/generator (babel#9542) Generate plugins file Make babel-standalone an ESModule and enable flow (babel#9025) Reorganize token types and use a map for them (babel#9645) [TS] Allow context type annotation on getters/setters (babel#9641) ...
cc @robpalme @nicolo-ribaudo @littledan