On Dec 16, 2014, at 4:18 PM, Bergi wrote:

> 
> 
> However, I wonder whether the same thing should be done in non-concise method 
> assignments, i.e. `PropertyDefinition : PropertyName : AssignmentExpression`. 
> As the `PropertyDefinitionEvaluation` handles the "IsFunctionDefinition of 
> AssignmentExpression" case specially, I think the static semantics for it 
> should do so as well (and forbid `super` calls in them).
> 

But there is a difference here.  Functions defined in this manner are 
constructors (the support [[Construct]] while concise methods are not.

Allen

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to