Re: Reason for strange ExponentiationExpression & UpdateExpression productions?

2016-07-21 Thread Rick Waldron
Bradford, Take a look at the tests that I wrote for that syntax, I think they will be helpful in understand what that syntax actually is: https://github.com/tc39/test262/blob/master/test/language/expressions/exponentiation/exp-operator-precedence-unary-expression-semantics.js#L34-L66 Rick On

Re: ModuleDeclarationInstantiation behaviour after failure

2016-07-21 Thread Jon Coppeard
Ah thanks, that explains what's going on there then. On 20/07/2016 17:06, Domenic Denicola wrote: > From: es-discuss [mailto:es-discuss-boun...@mozilla.org] On Behalf Of Jon > Coppeard > > >> OK, so calling EnqueueJob with a TopLevelModuleEvaluationJob is how this is >> supposed to happen. >>

Re: The `super` keyword doesn't work as it should?

2016-07-21 Thread Claude Pache
There is probably no way to make the `super` semantics just work in all use cases. But I think that the choice made in ES6 is the right one in order to have it correctly working in the most naïve (and maybe the most common?) use cases of method borrowing, i.e., when you don’t have knowledge of

Re: The `super` keyword doesn't work as it should?

2016-07-21 Thread medikoo
/#!/JoePea wrote > Is there any hard evidence of the performance cost of a dynamic super? So > far I've read in various places (for example the thread linked to by > @medikoo, Axel's 2ality article on super) about there being "overhead", > but > the articles haven't quantified or put into