archives

« Bugzilla Issues Index

#599 — 12.6.3: swapped expression args to 'For Body Evaluation'



In 12.6.3 "The for Statement",
each invocation of 'For Body Evaluation' looks like:

Return the result of performing For Body Evaluation
with the first Expression as the incrementExpr argument,
the second Expression as the testExpr argument
and with labelSet.

But I think the two Expr args should be swapped:
the first Expression should be the testExpr argument,
and the second Expression should be the incrementExpr argument.


corrected in editor's draft


fixed in rev10, Sept. 27 2012 draft