Expected to call super on super.apply
shellscape opened this issue · 1 comments
shellscape commented
semistandard is throwing an error on the following code, claiming that super
is never called. It doesn't appear to be accounting for super.apply
.
class Child extends Base {
constructor() {
super.apply(null, arguments);
}
};
Unfortunately Node@4 doesn't support the spread operator or I would have just used that.
shellscape commented
Going to close this one. It technically shouldn't throw on this, but since the support for that kind of a call to super
isn't at all wide-spread, it's probably not that important.