098 capture with effect branch event

○ Planned This feature is planned but not yet implemented.

~capture composing with effect-branch events — parked pending captured-shape redesign

Failure Output

error[PARSE006]: unknown parameter 'expr' — 'capture' has no parameter named 'expr'
  --> tests/regression/400_RUNTIME_FEATURES/400_098_capture_with_effect_branch_event/input.kz:29:0
    |
 29 | ~capture(expr: { total: @as(u64, 0) })
    | ^
  hint: remove the argument, or label it with a real parameter (e.g. 'source:')

Code

input.kz

Expected output

total = 3

Flows

flow ~capture click a branch to expand · @labels scroll to their anchor
capture (expr: { total: @as(u64, 0) })

Test Configuration

MUST_RUN