✗
Failing This test is currently failing.
Failed: backend-exec
Error Details
output_emitted.zig:37:14: error: expected ';' after declaration
Failure Output
🎯 Compiler coordination: Passes: 15 (flow-based: frontend, analysis, emission)
Error: output_emitted.zig:37:14: error: expected ';' after declaration
const acc#i64 = struct {
^~~~~~~~~~~~~~~ Code
// RED PIN (type-system design walk, 2026-07-06/07). REWRITTEN from the
// dead `~type(UserIdBox = Box<UserId>)` generation. This pin =
// registry breakdown #2: a stamped type inside a CAPTURE CELL. The
// cell must NAME the generated type's identity — the case that today
// only works by leaking the raw Zig type. With stamped names the cell
// type is just the name. Spelling PROVISIONAL (capture-cell typing of
// a Koru-minted type is itself part of the ask).
~import std/types
~import std/io
~import std/control
~std/types:struct(acc#i64) {
total: i64,
}
~capture({ a: acc#i64{ .total = 0 } })
| as state |> for(&[_]i64{ 10, 20, 30 })
| each n => captured { a: acc#i64{ .total = state.a.total + n } }
| captured final |> std/io:print.ln("Total: {{ final.a.total:d }}")
Must contain:
Total: 60Flows
flow ~struct click a branch to expand · @labels scroll to their anchor
struct (expr: acc#i64, source: total: i64,)
flow ~capture click a branch to expand · @labels scroll to their anchor
capture ({ a: acc#i64{ .total = 0 } })
Test Configuration
MUST_RUN