archives

« Bugzilla Issues Index

#4205 — 14.5 ClassExpression takes Yield and GeneratorParameter parameters but nothing supplies values to them.


ClassExpression takes Yield and GeneratorParameter parameters but nothing supplies values to them.

Yield probably needs to be passed in from 12.2 but within a ClassExpression it only needs to propagate to the extends clause. The other parts of the a class definition are all implicitly strict mode code so they don't need Yield parametrization to prevent use of "yield" as an identifier.


fixed in rev37 editor's draft


In Rev37