005 bridge session cannot be dropped

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

Code

input.k

Actual compiler output

error[KORU030]: Resource 'br' carries obligation <session!> was not discharged. Call: std.bridge:close
  --> tests/regression/400_RUNTIME_FEATURES/440_RESOURCE_BRIDGE/440_005_bridge_session_cannot_be_dropped/input.k:19:0

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

Must contain:

obligation <session!> was not discharged

Flows

flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "s1", scope: "files")

Test Configuration

MUST_ERROR

Compiler Flags:

--auto-discharge=disable