035 capture multi field

○ Planned This feature is planned but not yet implemented.

Multi-field captured updating multiple captures: captured { inner: 42, outer: 99 }

Failure Output

Showing last 10 of 13 lines
 23 | ~capture(expr: { outer: @as(i32, 0) })
    | ^
  hint: remove the argument, or label it with a real parameter (e.g. 'source:')

error[PARSE006]: unknown parameter 'expr' — 'capture' has no parameter named 'expr'
  --> tests/regression/300_ADVANCED_FEATURES/320_STDLIB/320_035_capture_multi_field/input.kz:24:0
    |
 24 | | as o |> capture(expr: { inner: @as(i32, 0) })
    | ^
  hint: remove the argument, or label it with a real parameter (e.g. 'source:')

Code

input.kz

Expected output

99,42

Flows

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

Test Configuration

MUST_RUN