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
}
};