225 effect record fire unknown arg no pack

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

Code

input.k

Actual compiler output

error[KORU021]: effect 'pair' has no payload field 'wrong' (fields: a: ..., b: ...)
  --> tests/regression/400_RUNTIME_FEATURES/400_225_effect_record_fire_unknown_arg_no_pack/input.k:12:1

Backend must reject with:

CONTAINS error[KORU021]
CONTAINS has no payload field 'wrong'
NOT_CONTAINS missing at the firing site
ERROR_AT 12

Flows

subflow ~calc click a branch to expand · @labels scroll to their anchor
pair (wrong: 1)
flow ~calc click a branch to expand · @labels scroll to their anchor
calc (n: 1)

Test Configuration

MUST_ERROR