archives

« Bugzilla Issues Index

#3218 — Annex C, eval and arguments as class names


"It is a SyntaxError if the IdentifierName eval or the IdentifierName arguments occurs as as the BindingIdentifier of a FunctionDeclaration, FunctionExpression, GeneratorDeclaration, or GeneratorExpression (12.1.1, 14.1.2, 14.4.1)."

This needs to also include ClassExpression and ClassDeclaration.


Actually, that whole item is redundant as there is now another item that says:
"It is a SyntaxError if the IdentifierName eval or the IdentifierName arguments occurs as a BindingIdentifier within strict mode code (12.1.1)."

I delete the item that was specifically about various forms of function declarations.

fixed in rev28 editor's draft


fixed in rev28