✗
Failing This test is currently failing.
Failed: backend-exec
Error Details
/opt/homebrew/Cellar/zig/0.15.2_1/lib/zig/std/Io/Writer.zig:1773:5: error: invalid format string '__koru_store_dst.__koru_handle_of(@as(usize, @intCast(__koru_sdix_d_L17)))' for type 'i64'
Failure Output
🎯 Compiler coordination: Passes: 20 (flow-based: elaborate, analysis, emission)
Error: /opt/homebrew/Cellar/zig/0.15.2_1/lib/zig/std/Io/Writer.zig:1773:5: error: invalid format string '__koru_store_dst.__koru_handle_of(@as(usize, @intCast(__koru_sdix_d_L17)))' for type 'i64'
@compileError("invalid format string '" ++ fmt ++ "' for type '" ++ @typeName(@TypeOf(value)) ++ "'");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
referenced by:
printValue__anon_19939: /opt/homebrew/Cellar/zig/0.15.2_1/lib/zig/std/Io/Writer.zig:1209:58
print__anon_19749: /opt/homebrew/Cellar/zig/0.15.2_1/lib/zig/std/Io/Writer.zig:700:25
10 reference(s) hidden; use '-freference-trace=12' to see all references Code
// PINS: a singleton cell path read in an INSERT literal's rhs. The cell
// rewrite that lowers `cfg.base` in if/when expressions (690_074) and in
// stored rhs must reach the insert literal too — it is the same read in the
// one remaining write-envelope position. A deserializer meets this shape
// immediately: the pending parsed value sits in a staging singleton and the
// rebuilt row is inserted from it (690_190 detours through an echo tor).
import std/io
import std/store
std/store:new(cfg) { base: 7[i64] }
std/store:new(dst, capacity: 2) { id: i64 }
std/store:insert(dst) { id: cfg.base }
std/store:query(dst)
! query d |> std/io:print.ln("row {{ d.id:d }}")
Expected output
row 7
Flows
flow ~new click a branch to expand · @labels scroll to their anchor
new (cfg, source: base: 7[i64])
flow ~new click a branch to expand · @labels scroll to their anchor
new (dst, capacity: 2, source: id: i64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (dst, source: id: cfg.base)
flow ~query click a branch to expand · @labels scroll to their anchor
query (dst)
Test Configuration
MUST_RUN