You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
await in a switch inside a labeled for-of hangs at runtime #9198
hangs; killed at 20 s, process in state R at ~14% CPU (spinning, not blocked)
The loop label is doing the work here: the same body without outer: and without break outer/continue outer terminates. Both abrupt completions target the enclosing labeled loop from inside a switch that also contains an await, so the case bodies are split across generator states.
Confirmed pre-existing on main, by rebuilding the compiler with crates/perry-transform/src/generator/linearize.rs reverted to main and re-running: identical hang, exit 124 both ways. Found while auditing #9189, which is adjacent (it routes labeled breaks through yielding switches, #9186) but does not address this — its own case is a labeled switch, not a labeled for…of containing one.
Sibling: the async-generator form fails differently and is filed separately.
Activity