062 void tor bare pipe chains

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

echo: a
echo: b
t1 result
echo: a
echo: b
echo: c
t2 result
echo: Hello
t3 result
t4 invalid anonymous '|>' after 'fetch' — name the outcome to continue on ('| <branch> |>')
echo: a
echo: b
t5 result
t6 invalid the value produced by 'probe' has nowhere to land — a -> T result cannot be chained on the wire yet

Expected output

echo: a
echo: b
t1 result
echo: a
echo: b
echo: c
t2 result
echo: Hello
t3 result
t4 invalid anonymous '|>' after 'fetch' — name the outcome to continue on ('| <branch> |>')
echo: a
echo: b
t5 result
t6 invalid the value produced by 'probe' has nowhere to land — a -> T result cannot be chained on the wire yet

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "binds", source: echo(1) fetch(1) probe(1))
subflow ~turn1 click a branch to expand · @labels scroll to their anchor
run (br, source: "echo(text: \"a\") |> echo(text: \"b\")")
subflow ~turn2 click a branch to expand · @labels scroll to their anchor
run (br, source: "echo(text: \"a\") |> echo(text: \"b\") |> echo(text: \"c\")")
subflow ~turn3 click a branch to expand · @labels scroll to their anchor
run (br, source: "echo(text: \"Hello\") |>")
subflow ~turn4 click a branch to expand · @labels scroll to their anchor
run (br, source: "fetch(path: \"x\") |> echo(text: \"y\")")
subflow ~turn6 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe() |> echo(text: \"y\")")
subflow ~turn5 click a branch to expand · @labels scroll to their anchor
run (br, source: "echo(text: \"a\")\n |> echo(text: \"b\")")
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "b1", scope: "binds")

Test Configuration

MUST_RUN