archives

« Bugzilla Issues Index

#2185 — 12.1.5 Object Initialiser: "yield" parameter not propagated to PropertyName


12.1.5 Object Initialiser, production `PropertyDefinition[yield]`.

Propagate "yield" parameter to PropertyName, otherwise the keyword "yield" is always treated as an IdentifierReference in ComputedPropertyNames.

Also propagate to MethodDefinition (cf. bug 2184).


fixed in rev21 editor's draft


fixed in rev21 draft