355 query on tor names the kind

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

Code

input.k

Actual compiler output

error[KORU161]: std/store:query(phase): 'phase' is a tor, not a store - query sweeps a plural container's rows. Call 'phase' for its value; if rows were meant, declare `std/store:new(phase, capacity: N)`
  --> tests/regression/600_STDLIB/690_STORE/690_355_query_on_tor_names_the_kind/input.k:12:0

Must contain:

error[KORU161]

Flows

flow ~query click a branch to expand · @labels scroll to their anchor
query (phase)

Test Configuration

MUST_ERROR