193 stored envelope refuses two stores

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

Code

input.k

Actual compiler output

error[KORU161]: std/store:stored: a multi-field envelope writes ONE store this rung ('cells' vs 'acc')
  --> tests/regression/600_STDLIB/690_STORE/690_193_stored_envelope_refuses_two_stores/input.k:15:0

Must contain:

a multi-field envelope writes ONE store this rung

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (cells, capacity: 2, source: x: f64)
flow ~new click a branch to expand · @labels scroll to their anchor
new (acc, source: t: 0.0[f64])
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (cells, source: x: 1.0)
flow ~query click a branch to expand · @labels scroll to their anchor
query (cells)

Test Configuration

MUST_ERROR