043 read stdin no free

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

Code

input.kz

Actual compiler output

error[KORU030]: Resource 'content' carries obligation <allocated!> was not discharged. Call one of: std.io:free
  --> tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_043_read_stdin_no_free/input.kz:10:0

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

Must contain:

KORU030

Flows

flow ~read-stdin click a branch to expand · @labels scroll to their anchor
read-stdin

Test Configuration

MUST_ERROR

Compiler Flags:

--auto-discharge=disable