104 effect branch cannot discharge outer

✓ Passing This code compiles and runs correctly.

Code

input.kz

Frontend must reject with:

CONTAINS error[KORU027]
CONTAINS cannot discharge an obligation

Error Verification

Actual Compiler Output

error[KORU027]: effect branch payload cannot discharge an obligation
  --> tests/regression/400_RUNTIME_FEATURES/400_104_effect_branch_cannot_discharge_outer/input.kz:13:18
    |
 13 | ! each *Resource<!active>
    |                  ^
  hint: a `!` effect branch fires 0-to-N times, so `<!active>` (discharge) is incoherent — drop the leading `!` for plain state matching, or issue one obligation per firing with `<active!>`

Test Configuration

MUST_FAIL