104 undrainable column reports once

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

Code

input.k

Supporting Files

lib/pend.kz

Actual compiler output

error[KORU160]: std/store:new(batch): no tor accepts *app/lib/pend:Pending<!open>, so the column cannot be auto-discharged — every exit from <open!> in app/lib/pend returns a value or carries branches
  --> tests/regression/600_STDLIB/690_STORE/690_104_undrainable_column_reports_once/input.k:4:0
  hint: a store disposes elements unattended at teardown, where there is nobody to take a return value or answer a branch — so drain it by hand: bolt `! discharge item |> app/lib/pend:<exit>(item.<field>)` onto the declaration. The arm is ordinary Koru, so pipe whatever sequence the type needs and its own obligations settle normally

Must contain:

cannot be auto-discharged

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

Test Configuration

MUST_ERROR