GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix: Decorators when `super()` exists and `protoInit` is not needed by liuxingbaoyu · Pull Request #16385 · babel/babel Conversation
Member
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/56579 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
4d53402 to
4b05c2c
Compare
| } | ||
| } | ||
|
|
||
| const r = new TestChild(); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
In contrast with initProto-existing-derived-constructor, can you rename this test to initField-existing-derived-constructor?
I suggest we also add some behaviour assertions like we have done in that test.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I tried porting all the tests but unfortunately couldn't get them all to work so I just added a simple test.🤦♂️
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can you push the new tests? Even if they are failing, we can still investigate for sure.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I re-added all the tests, but I'm not sure if I tested the behavior well, thanks for the review!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
f182cbd to
755ae4e
Compare
25c5235 to
4f1ee84
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thank you. The new tests look go to me. 👍
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Decorators | Error when callingsuper in constructor of extended class when decorating accessors.
There was an error while loading. Please reload this page.