078 reject dropped carried obligation

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

error[PARSE003]: single continuation branch 'finished' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> i32`
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_078_reject_dropped_carried_obligation/input.kz:31:1
    |
 31 | ~tor spin { h: *Handle<!owned> }
    | ^

Code

input.kz

Backend must reject with:

CONTAINS error[KORU030]
CONTAINS was not discharged

Flows

subflow ~spin click a branch to expand · @labels scroll to their anchor
#loop step (h)
flow ~make click a branch to expand · @labels scroll to their anchor
make