035 store entity ambiguous discharge forces pick

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

Code

input.k

Actual compiler output

error[KORU030]: Resource 'i' <taken!> has multiple discharge options: despawn-loudly, despawn-quietly. Discharge explicitly.
  --> tests/regression/600_STDLIB/690_STORE/690_035_store_entity_ambiguous_discharge_forces_pick/input.k:21:4

❌ 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:

multiple discharge options

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (enemies, capacity: 64, source: hp: i64)
subflow ~despawn-quietly click a branch to expand · @labels scroll to their anchor
print.ln (expr: "quietly despawned")
subflow ~despawn-loudly click a branch to expand · @labels scroll to their anchor
print.ln (expr: "LOUDLY despawned")
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (enemies, source: hp: 9)

Test Configuration

MUST_ERROR