061 named expression params

○ Planned This feature is planned but not yet implemented.

Should use Pattern Branches instead of named Expression parameters. Pattern Branches are the better mechanism for this.

Failure Output

Showing last 10 of 12 lines
    |
 11 | ~[keyword|comptime|transform]pub tor operation {
    | ^

error[KORU010]: '_' is only legal as the body of a branch handler
  --> tests/regression/300_ADVANCED_FEATURES/310_COMPTIME/310_061_named_expression_params/input.kz:36:0
    |
 36 | |> _
    | ^
  hint: '_' has meaning only as `| branch [binding] |> _`. Outside a branch handler body — top-level void chain, split-pipeline tail — `|> _` is meaningless.

Code

input.kz

Flows

flow ~operation click a branch to expand · @labels scroll to their anchor
operation (1..N, guard: i > 100)