archives

« Bugzilla Issues Index

#4490 — 14.2.*: Operations defined for wrong grammar productions


14.2.4 Static Semantics: ContainsExpression
14.2.5 Static Semantics: ExpectedArgumentCount
14.2.6 Static Semantics: HasInitializer
14.2.8 Static Semantics: IsSimpleParameterList
14.2.14 Runtime Semantics: IteratorBindingInitialization


All these operations are called during 9.2.12 FunctionDeclarationInstantiation, that means they actually use ArrowFormalParameters (or BindingIdentifier) instead of ArrowParameters (cf. 14.2.16, step 3).


Fixed in ES2016 Draft (622b6c8).