006 cell capture unknown write field

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

Code

input.kz

Actual compiler output

[REGISTRY] Creating dispatcher for scope 'cell'
[REGISTRY] Found 0 events
[REGISTRY] Generated 9792 bytes
error[KORU161]: captured: no field 'vists' on shape 'room_state' — write heads come from the proto block
  --> tests/regression/400_RUNTIME_FEATURES/460_CELL/460_006_cell_capture_unknown_write_field/input.kz:20:4

Must fail at runtime with:

CONTAINS no field 'vists'
CONTAINS room_state

Flows

flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (room_state, source: visits: u32)
flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "cell", source: )
flow ~open click a branch to expand · @labels scroll to their anchor
open (expr: room_state, id: "room-7")

Test Configuration

MUST_ERROR