025 stale tx after commit

✓ Passing This code compiles and runs correctly.

Code

input.k

Must contain:

Use-after-discharge

Error Verification

Actual Compiler Output

error[KORU030]: Use-after-discharge: binding 'tx' was already discharged and cannot be used
  --> phantom_semantic_check:13:0

❌ Compiler coordination error: Phantom semantic validation failed
error: CompilerCoordinationFailed
???:?:?: 0x10061f9d3 in _backend.RuntimeEmitter.emit (???)
???:?:?: 0x100620b63 in _backend.main (???)

Flows

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

Imported Files

db.kz

Test Configuration

MUST_FAIL