012 interpolation use in for loop

○ Planned This feature is planned but not yet implemented.

KORU100 false positive: string interpolation reference not counted as binding use inside for loop body (post-transform AST loses interpolation→binding association)

Failure Output

error[KORU010]: '_' is only legal as the body of a branch handler
  --> tests/regression/200_COMPILER_FEATURES/220_FLOW_CHECKER/220_012_interpolation_use_in_for_loop/input.kz:26:0
    |
 26 | |> _
    | ^
  hint: '_' has meaning only as `| branch [binding] |> _`. Outside a branch handler body — top-level void chain, split-pipeline tail — `|> _` is meaningless.

Code

input.kz

Imported Files

source.kz