005 transaction active nonvoid only

✓ Passing This code compiles and runs correctly.

Code

input.k

Must contain:

active!

Error Verification

Actual Compiler Output

error[KORU030]: Resource '_auto_0' obligation <active!> was not discharged. Call one of: tx.rollback, tx.commit
  --> auto_discharge:4:0

❌ Compiler coordination error: Auto-discharge failed (multiple disposal options or no disposal event)
error: CompilerCoordinationFailed
???:?:?: 0x1022b39d3 in _backend.RuntimeEmitter.emit (???)
???:?:?: 0x1022b4b63 in _backend.main (???)

Flows

flow ~open click a branch to expand · @labels scroll to their anchor
open (connstr: "postgres://localhost/test")

Imported Files

db.kz

Test Configuration

MUST_FAIL