archives

« Bugzilla Issues Index

#790 — 12.6.3: "(This value is not used but the call may have side-effects.)"


In 12.6.3 "The for Statement",
under "Runtime Semantics: Labelled Evaluation",
rule 1 step 1.b says:
Let exprValue be GetValue(exprRef).
(This value is not used but the call may have side-effects.)

But 'exprValue' *is* used: it's passed to LoopContinues() (which certainly uses it), and it's possibly returned as the result of the algorithm.

So delete the parenthesized sentence.


corrected in rev 11 editor's draft


in October 26, 2012 release draft