archives

« Bugzilla Issues Index

#2328 — 13.12.1: Incorrect production referenced FunctionDeclaration -> FunctionBody


13.12.1 Static Semantics: Early Errors

> This does not apply to a LabelledStatement appearing within the body of a FunctionDeclaration
> and a LabelledStatement that encloses, directly or indirectly the FunctionDeclaration.

Change "FunctionDeclaration" to "FunctionBody". Also change "directly or indirectly" to "indirectly", since a LabelledStatement cannot directly enclose a FunctionBody.


fixed in rev23 editor's draft


fixed in rev23 draft