✗
Failing This test is currently failing.
Failed: backend-exec
Error Details
output_emitted.zig:180:16: error: std/store:stored: unknown store 'game[__koru_qrow]'
Failure Output
🎯 Compiler coordination: Passes: 17 (flow-based: frontend, analysis, emission)
Error: output_emitted.zig:180:16: error: std/store:stored: unknown store 'game[__koru_qrow]'
comptime { @compileError("std/store:stored: unknown store 'game[__koru_qrow]'"); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
main_module: output_emitted.zig:29:25
main: output_emitted.zig:1049:5
4 reference(s) hidden; use '-freference-trace=6' to see all references Code
// RED PIN (2026-07-18): a MULTI-FIELD stored block through the query-row
// cursor dies with "unknown store '<s>[__koru_qrow]'" — the stored
// transform mis-parses the indexed lvalue head when the block writes more
// than one field. Single-field is green (690_008); chained single-field
// writes are the legal form meanwhile (chain-envelope ruling: one atomic
// unit). Surfaced by koru-libs raylib bounce.k's movement rule.
import std/io
import std/store
std/store:new(game) { a: i64, b: i64 }
std/store:insert(game) { a: 1, b: 10 }
| row _ |> _
| full |> _
std/store:query(game)
! query { entity.a, entity.b } |> std/store:stored { entity.a: entity.a + 1, entity.b: entity.b + 1 }
std/store:query(game)
! query { entity.a, entity.b } |> std/io:print.ln("a {{ a:d }} b {{ b:d }}")
Expected output
a 2 b 11
Flows
flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: game, source: a: i64, b: i64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: game, source: a: 1, b: 10)
flow ~query click a branch to expand · @labels scroll to their anchor
query (expr: game)
flow ~query click a branch to expand · @labels scroll to their anchor
query (expr: game)
Test Configuration
MUST_RUN