024 stale view after take

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

Code

input.k

Actual compiler output

error[KORU030]: Use-after-discharge: binding 's' was already discharged and cannot be used
  --> tests/regression/300_ADVANCED_FEATURES/335_OBLIGATION_STRESS/335_024_stale_view_after_take/input.k:18:0

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

Must contain:

Use-after-discharge

Flows

flow ~from-page click a branch to expand · @labels scroll to their anchor
from-page (text: "hello")

Test Configuration

MUST_ERROR