« Bugzilla Issues Index

#545 — 12.6.3: undefined "varDcl"

In 12.6.3 "The for Statement",
under "Runtime Semantics: Labelled Evaluation"
in rule 4, step 7 says:

If LoopContinues(varDcl,labelSet) is false, then
a. Set the running execution context's LexicalEnvironment to oldEnv.
b. Return varDcl.

but 'varDcl' is not defined.

Change each occurrence to 'forDcl' ?

corrected in editor's draft

fixed in rev10, Sept. 27 2012 draft