354 query on value store names the tier

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

Code

input.k

Actual compiler output

error[KORU161]: std/store:query(game): 'game' is a capacity-1 value store - query sweeps a plural container's rows. A value store reads as 'game.<field>' in a step, or watches via `std/store:watch(game)`; to keep rows, declare `std/store:new(game, capacity: N)`
  --> tests/regression/600_STDLIB/690_STORE/690_354_query_on_value_store_names_the_tier/input.k:12:0

Must contain:

error[KORU161]

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (game, source: entities: 0[i64])
flow ~query click a branch to expand · @labels scroll to their anchor
query (game)

Test Configuration

MUST_ERROR