On Jul 29, 2008, at 7:53 AM, P T Withington wrote:

>> In AS3 it's like this:
>>
>> override function set bar (value) {
>>     super.bar = value;
>> }
>
> So, can I say:
>
> override function set * (id, value) {

There's no such syntax in ES4 as proposed -- the last grammar sent  
out does not produce * after set in FunctionDefinition^class.

The proposal was meta function set(id, value) {...}, and as far as I  
can see in that proposal, super[id] should work.

/be

>    note('setting ' + id + ' to ' + value);
>    super[id] = value;
> }
>
> ?  (It seems currently, AS3 does not allow `super[]`?)
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss

_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to