019 reject destructure unused field

✓ Passing This code compiles and runs correctly.

Code

input.kz

Frontend must reject with:

CONTAINS unused binding 'age'

Error Verification

Actual Compiler Output

error[KORU100]: unused binding 'age'
  --> tests/regression/000_CORE_LANGUAGE/020_EVENTS_FLOWS/020_019_reject_destructure_unused_field/input.kz:10:0
    |
 10 | ~fetch(): { name, age } |> std/io:print.ln("only {{ name:s }}")
    | ^
  hint: discard the destructured field using `_` if not needed

Flows

flow ~fetch click a branch to expand · @labels scroll to their anchor
fetch

Test Configuration

MUST_FAIL