360 construct glyph in rule arm

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

Code

input.k

Actual compiler output

error[KORU102]: std/store:rule(box): `=>` inside a `! row` arm has nothing to construct — the arm body grafts into a void synthesized unit, so a branch of the enclosing tor cannot be produced from in there. Hand the verdict out through the enclosing surface and branch after it returns.
  --> tests/regression/600_STDLIB/690_STORE/690_360_construct_glyph_in_rule_arm/input.k:18:0

error[KORU161]: std/store:rule(box): unknown store - no std/store:new(box) found (or the store is a capacity-1 value - queries need a container, declare `capacity: N` at create)
  --> tests/regression/600_STDLIB/690_STORE/690_360_construct_glyph_in_rule_arm/input.k:17:0

error[KORU161]: std/store:insert: unknown store 'box' - no std/store:new(box) found
  --> tests/regression/600_STDLIB/690_STORE/690_360_construct_glyph_in_rule_arm/input.k:20:0

Compiler must reject:

Compilation must fail with a diagnostic.

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (box, capacity: 4, source: n: i64)
flow ~rule click a branch to expand · @labels scroll to their anchor
rule (box)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (box, source: n: 1)

Test Configuration

MUST_ERROR