What property name would be be used in such implicit super calls? A function doesn't know what property name was used to access it. Using an implicit property name in a super call would require that every method call implicitly pass the name used to access the property. This is just like the |here| problem.
Allen On Jun 25, 2011, at 10:12 PM, Brendan Eich wrote: > 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 > _______________________________________________ > es-discuss mailing list > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss