Skip to content

Make super consistent with ES6 #2638

@paulmillr

Description

@paulmillr
  • Current CoffeeScript & Ruby super calls appropriate fn of the superclass with all arguments and super a, b, c for calling with other args.
  • ECMAScript 6 super is just a direct reference to the super class.
  • Coco & LiveScript super is just a direct reference to the super function.

I’m in favour of ES6-way which will be consistent with futurejs.

So, super should just be a ref to superclass. This will also allow to use it in static methods etc which will close gh-1790

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions