We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The merge of super on a getter function generates the wrong call.
class Test < Parent def self.options super.merge(opt1: 1) end end
This generates
static get options() { return { ...Parent.options(), opt1: 1 } };
This is wrong. The super should follow the args of the definition instead.
static get options() { return { ...Parent.options, opt1: 1 } };
The text was updated successfully, but these errors were encountered:
@esb I have a feeling a fix for this could be tricky, but I'll see what I can do!
Sorry, something went wrong.
I have a fix for this together with the case where a getter requests a super call.
Would you like a PR?
Yes, that would be fantastic! I hadn't got a chance to look at it myself.
No branches or pull requests
The merge of super on a getter function generates the wrong call.
This generates
This is wrong. The super should follow the args of the definition instead.
The text was updated successfully, but these errors were encountered: