108 drain discard names no synthetic binding

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

Code

input.k

Supporting Files

lib/pend.kz

Actual compiler output

error[KORU080]: 'cancel' requires input 'p' — it is declared with no default and no `?`, and this call does not supply it
  --> tests/regression/600_STDLIB/690_STORE/690_108_drain_discard_names_no_synthetic_binding/input.k:6:0

❌ Compiler coordination error: Auto-discharge failed (multiple disposal options or no disposal event)
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Must contain:

discharge

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (batch, capacity: 2, source: *app/lib/pend:Pending<open!>)
flow ~start click a branch to expand · @labels scroll to their anchor
start
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "inserted")

Test Configuration

MUST_ERROR