003 borrowed bridge cannot close

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

Code

input.kz

Actual compiler output

error[KORU030]: Phantom state mismatch: 'b' (parameter 'c') holds state 'std.cell:cell' with no obligation attached — '<!cell>' settles a debt, and this value never incurred one.
  --> tests/regression/400_RUNTIME_FEATURES/450_FLEET/450_003_borrowed_bridge_cannot_close/input.kz:13:0

Must fail at runtime with:

CONTAINS Phantom state mismatch
CONTAINS <!cell>

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: node, scope: "cell", world: "", capacity: 8)
flow ~std/fleet click a branch to expand · @labels scroll to their anchor
std/fleet (node.room-42)

Test Configuration

MUST_ERROR