Don't use args rest/spread to hoist super method calls#9939
Don't use args rest/spread to hoist super method calls#9939nicolo-ribaudo merged 3 commits intobabel:masterfrom
Conversation
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/10755/ |
|
|
||
| return babelHelpers.asyncToGenerator(function* () { | ||
| _superprop_callMethod(); | ||
| _superprop_getMethod().call(this); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
|
Hi @nicolo-ribaudo! Is something blocking this PR? Can I help some way? |
|
It needs reviews 😛 |
6510d9b to
ba0ef7b
Compare
|
@nicolo-ribaudo I can't see the approve button (maybe I need to be selected as reviewer?) but I saw your latest changes and, IMHO, everything is ok! Thank you! |
jridgewell
left a comment
There was a problem hiding this comment.
Should we rewrite this to use helper-replace-supers?
|
@jridgewell |
|
Right, we would replace the super expressions with calls to the hoisted helpers. 😉 |
I don't fully know
super.foo()semantics, but I think that this PR is correct?