102 field narrowing drop remainder

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

Code

input.kz

Actual compiler output

error[KORU030]: Resource 'g' obligation <owned!> was not discharged. Call one of: dispose
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_102_field_narrowing_drop_remainder/input.kz:18:0

❌ Compiler coordination error: Auto-discharge failed (multiple disposal options or no disposal event)
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Backend must reject with:

CONTAINS error[KORU030]
CONTAINS was not discharged

Flows

flow ~make2 click a branch to expand · @labels scroll to their anchor
make2 (id: 1)

Test Configuration

MUST_ERROR