✓
Passing This code compiles and runs correctly.
Code
// PIN (part): `part impl` in the entry loads every `input.impl.k*` sibling —
// the same join the stem-facet mechanism makes, but NAMED by the declaration
// instead of derived from the directory. Events declared in a part are in
// scope for the primary's flows, referenced unqualified — the merge puts
// primary and parts in one module (the 140_009 facet contract, through part).
part impl
compute(x: 42): r |> show(v: r)
Supporting Files
// PIN (part): the part file is pure Koru and may itself have host facets —
// `input.impl.kz` implements the tors declared here, exactly as a stem
// companion would (140_005).
pub tor compute { x: u32 } -> u32
pub tor show { v: u32 }
const std = @import("std");
~proc compute|zig { return x + 100; }
~proc show|zig { std.debug.print("{d}\n", .{v}); }
Actual
142
Expected output
142
Flows
flow ~compute click a branch to expand · @labels scroll to their anchor
compute (x: 42)
Test Configuration
MUST_RUN