Issue #1359: let b = e(); let v = [b]; process::run("echo", v) with e returning only…

Open and answer this issue on GitHub.

views, decision · opened 2026-11-07 · updated 2026-11-07 · 0 comments

Filed by the driver from the Found: of the run of issue-1269 (#1269) (owner, 2026-11-06).

Found

let b = e(); let v = [b]; process::run("echo", v) with e returning only literals is still NK1102 (an undeclared list local of static text handed to std; own fns adopt it); probe: use std::process\nfn e() -> String { return "a" }\nfn main() throws {\n\tlet b = e()\n\tlet v = [b]\n\tprintln(process::run("echo", v).stdout)\n}

Needs

supervisor decision: should a loop element of a literal list (for x in ["a","b"] { return x.to_string() }) be built as text of its own when the result must own its text (D29 “literals are constructed”), or is the .clone() D8 asks for right?

To build

Done when

The probe gives the specified result and its test is green.


Generated by Claude Code

Back to Open Issues