archives

« Bugzilla Issues Index

#2194 — 13.2.3 Destructuring Binding Patterns: Conditional parameterised production used without matching parameter


13.2.3 Destructuring Binding Patterns:

> BindingElement[yield] :
> BindingPattern[?yield] Initialiser[?in, ?yield]opt

> SingleNameBinding[yield] :
> BindingIdentifier[?yield] Initialiser[?in, ?yield]opt


"?in" form is used, but there is no ingoing parameter "in". Change from "[?in, ?yield]" to "[in, ?yield]".


fixed in rev21 editor's draft


fixed in rev21 draft