✓
Passing This code compiles and runs correctly.
Code
// PIN (part): a part may carry host facets of its own — `input.ping.kz`
// (Zig) and `input.ping.kjs` (JS) both join through `part ping`. The `.kjs`
// raw hostline `let ping_seen = "js-only";` is NOT valid Zig: if it leaked
// into the Zig output the backend compile would fail. Green means hostlines
// route by their own file's host, exactly as stem facets route them
// (140_010) — the part join must not flatten that.
part ping
ping()
Supporting Files
// PIN (part): the part's contract facet — the event `ping` the primary's
// flow invokes.
pub tor ping {}
// JS host facet of the `ping` part. `ping_seen` is deliberately not valid
// Zig — its presence in the Zig output is the leak this test pins.
let ping_seen = "js-only";
~proc ping|js { console.log("pong"); }
const std = @import("std");
~proc ping|zig { std.debug.print("pong\n", .{}); }
Actual
pong
Expected output
pong
Flows
flow ~ping click a branch to expand · @labels scroll to their anchor
ping
Test Configuration
MUST_RUN