19 open tx close early

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must contain:

Phantom state mismatch

Error Verification

Actual Compiler Output

error[KORU030]: Phantom state mismatch: expected 'app.db:active' but got 'app.db:connected!' for argument 'conn'
  --> phantom_semantic_check:8:0

error[KORU030]: Resource 'c' carries obligation <connected!> was not discharged. Call: app.db:tx.begin
  --> phantom_semantic_check:8:0

❌ Compiler coordination error: Phantom semantic validation failed
error: CompilerCoordinationFailed
???:?:?: 0x1021ff9d3 in _backend.RuntimeEmitter.emit (???)
???:?:?: 0x102200b63 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