forConditionsSuspended property

Set<SForStatement> forConditionsSuspended
final

The for loops whose CONDITION is suspended at an await.

ghissues62: on resumption the loop is re-entered to evaluate its condition again, the resolved awaits replaying. Without the record the resumption read as one from the loop's initializer, never evaluated the condition and spun for ever (for (; i < await n(); i++)). Keyed by identity, as doBodiesStarted is.

Implementation

final Set<SForStatement> forConditionsSuspended = Set<SForStatement>.identity();