019 auto discharge branch constructor

✗ Failing This test is currently failing.

Failed: backend-exec

Failure Output

error[KORU021]: continuation branch 'opened' on tor 'app.fs:open' — a bare return has no tags
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_019_auto_discharge_branch_constructor/input.kz:4:0
  hint: bind the value with `: name`, not `| opened`

❌ Compiler coordination error: Incomplete branch coverage
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Code

input.kz

Expected output

Opening file: test.txt
Closing file (auto-discharged)

Flows

subflow ~check-file click a branch to expand · @labels scroll to their anchor
open (path)
flow ~check-file click a branch to expand · @labels scroll to their anchor
check-file (path: "test.txt")

Imported Files

fs.kz

Test Configuration

MUST_RUN