152 when group discard binding drops capture

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

🎯 Compiler coordination: Passes: 20 (flow-based: elaborate, analysis, emission)
Error: output_emitted.zig:147:33: error: use of undeclared identifier 'f'
                else .{ .boom = f },
                                ^

Must fail at backend compile:

Code generation must reject the program.

Error output must contain

use of undeclared identifier

Flows

subflow ~worker click a branch to expand · @labels scroll to their anchor
if (n < 0)
subflow ~attempt click a branch to expand · @labels scroll to their anchor
worker (n)
subflow ~sup click a branch to expand · @labels scroll to their anchor
#retry attempt (n, left: 3)
flow ~sup click a branch to expand · @labels scroll to their anchor
sup (n: -10)

Test Configuration

MUST_ERROR