099 sequential for phases under capture

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

error[KORU051]: branch 'done' has 2 continuations without 'when' (ambiguous) - only one else case allowed
  --> tests/regression/320_CONTROL_FLOW/320_099_sequential_for_phases_under_capture/input.k:14:0
    |
 14 | capture { sum: 0[i64], g: [4]i64{ 1, 2, 3, 4 } }
    | ^

Code

input.k

Expected output

20

Flows

flow ~capture click a branch to expand · @labels scroll to their anchor
capture (source: sum: 0[i64], g: [4]i64{ 1, 2, 3, 4 })

Test Configuration

MUST_RUN