archives

« Bugzilla Issues Index

#4188 — 13.6 Iteration Statements: Inconsistent use of "LoopContinues"


13.6 Iteration Statements

All abrupt completions (*) are handled by LoopContinues in:
13.6.1 The do-while Statement
13.6.2 The while Statement
13.6.3 The for Statement

Whereas only some abrupt completions are handled by LoopContinues in:
13.6.4 The for-in and for-of Statements

(*) even if it's not necessary.


I'm still in favor of removing LoopContinues calls when break and continue abrupt completions are not possible, e.g. after evaluating an expression. But I also understand if you like to defer this change.


fixed in rev37 editor's draft

ok, I got rid of the the non-body uses of LoopContinues. It isn't clear that there was anything wrong with what was there. But it does simplify things to get rid of them.


In Rev37