RE: super, methods, constructors Co.

2012-06-04 Thread Luke Hoban
In fact, without |, are there any cases where super behaves correctly in an object literal, other than making super calls to Object.prototype functions? We haven't eliminated the ability to define object literals that inherit from objects other than Object.prototype. We have just

Re: super, methods, constructors Co.

2012-06-04 Thread Herby Vojčík
Luke Hoban wrote: In fact, without|, are there any cases where super behaves correctly in an object literal, other than making super calls to Object.prototype functions? We haven't eliminated the ability to define object literals that inherit from objects other than Object.prototype. We

Re: super, methods, constructors Co.

2012-06-01 Thread Allen Wirfs-Brock
On May 31, 2012, at 10:57 PM, Luke Hoban wrote: On May 31, 2012, at 1:54 PM, Allen Wirfs-Brock wrote: On May 31, 2012, at 1:53 AM, Herby Vojčík wrote: Hello, reacting to super only in classes, I'd like to propose widening it just a little bit: 1. Allow super in every concise

RE: super, methods, constructors Co.

2012-06-01 Thread Domenic Denicola
-Original Message- From: es-discuss-boun...@mozilla.org [mailto:es-discuss- boun...@mozilla.org] On Behalf Of Allen Wirfs-Brock Sent: Friday, June 01, 2012 04:05 We haven't eliminated the ability to define object literals that inherit from objects other than Object.prototype. We

Re: super, methods, constructors Co.

2012-06-01 Thread Oliver Hunt
On Jun 1, 2012, at 8:30 AM, Domenic Denicola wrote: -Original Message- From: es-discuss-boun...@mozilla.org [mailto:es-discuss- boun...@mozilla.org] On Behalf Of Allen Wirfs-Brock Sent: Friday, June 01, 2012 04:05 We haven't eliminated the ability to define object literals that

Re: super, methods, constructors Co.

2012-06-01 Thread David Herman
On Jun 1, 2012, at 10:10 AM, Oliver Hunt wrote: Also, I won't be around on email for the next week or so as I'm helping out on the ALC (if you feel like sponsoring here's a url: http://www.tofighthiv.org/site/TR/AIDSLIFECYCLE11/AIDSLifeCycleCenter?px=2583919pg=personalfr_id=1440) Go Ollie!

Re: super, methods, constructors Co.

2012-05-31 Thread Allen Wirfs-Brock
(private reply) On May 31, 2012, at 1:53 AM, Herby Vojčík wrote: P.S.: It was told that there are some problems with super -- what are they? I think the problem is that some committee members just don't understand the normal OO semantics of super and how it is used in OO inheritance. In

Re: super, methods, constructors Co.

2012-05-31 Thread Allen Wirfs-Brock
well this is embarrassing... I stand by my perception, but it isn't something I would normally share in a public list. I apologize if anybody is offended. Allen On May 31, 2012, at 11:07 AM, Allen Wirfs-Brock wrote: (private reply) On May 31, 2012, at 1:53 AM, Herby Vojčík wrote:

RE: super, methods, constructors Co.

2012-05-31 Thread Luke Hoban
On May 31, 2012, at 1:54 PM, Allen Wirfs-Brock wrote: On May 31, 2012, at 1:53 AM, Herby Vojčík wrote: Hello, reacting to super only in classes, I'd like to propose widening it just a little bit: 1. Allow super in every concise methods (in classes, as well as out of them). Basically