226 effect record fire missing field reports

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

Code

input.k

Actual compiler output

error[KORU022]: effect 'pair' payload field 'b' missing at the firing site (pair(a: ..., b: ...))
  --> tests/regression/400_RUNTIME_FEATURES/400_226_effect_record_fire_missing_field_reports/input.k:10:1

Backend must reject with:

CONTAINS error[KORU022]
CONTAINS payload field 'b' missing at the firing site
ERROR_AT 10

Flows

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

Test Configuration

MUST_ERROR