107 effect resume cannot issue obligation

✓ Passing This code compiles and runs correctly.

Code

input.kz

Frontend must reject with:

CONTAINS error[KORU027]
CONTAINS cannot issue an obligation

Error Verification

Actual Compiler Output

error[KORU027]: effect branch resume type cannot issue an obligation
  --> tests/regression/400_RUNTIME_FEATURES/400_107_effect_resume_cannot_issue_obligation/input.kz:13:27
    |
 13 | ! lend usize -> *Resource<active!>
    |                           ^
  hint: a `!` effect branch fires 0-to-N times, so resuming `<active!>` (issue) would let the obligation escape un-discharged — drop the trailing `!`, or discharge in-scope with `<!active>`

Test Configuration

MUST_FAIL