040 subflow drops obligation on input

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

Code

input.kz

Supporting Files

fs.kz

Actual compiler output

error[KORU033]: Cannot issue obligation '<opened!>' on input parameter (event: process-file). Use '<!opened>' to consume an existing obligation, or remove the '!' suffix.
  --> tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_040_subflow_drops_obligation_on_input/input.kz:30:0

❌ Compiler coordination error: Phantom semantic validation failed
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Must fail at runtime with:

CONTAINS obligation

Flows

flow ~open click a branch to expand · @labels scroll to their anchor
open (path: "data.txt")

Test Configuration

MUST_ERROR