002 member lookup requires not found

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

Code

input.kz

Actual compiler output

error[KORU161]: std/fleet(node.room-42): a member lookup can miss — `| not-found |>` is required; dormant is a decision, not silence
  --> tests/regression/400_RUNTIME_FEATURES/450_FLEET/450_002_member_lookup_requires_not_found/input.kz:9:0

Must fail at runtime with:

CONTAINS a member lookup can miss
CONTAINS not-found

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: node, scope: "cell", world: "", capacity: 8)
flow ~std/fleet click a branch to expand · @labels scroll to their anchor
std/fleet (node.room-42)

Test Configuration

MUST_ERROR