Making "super" work outside a literal?

Brendan Eich brendan at mozilla.com
Sat Jun 25 14:12:02 PDT 2011


On Jun 25, 2011, at 2:10 PM, Brendan Eich wrote:

> Should we really constrain super calls in methods to be only of the same-named method in the superclass? Conciseness is better but the restriction seems worse. Is it necessary in Ruby or CoffeeScript?

Consider also that the ES.next 'super' proposals allow super.baz where super.baz is a property other than a method. That would not be possible with 'super'-only.

/be


More information about the es-discuss mailing list