Issue #2762: The raw-sink help suggests dir.join(dir) when the variable is called dir

Open and answer this issue on GitHub.

bug, ready · opened 2026-11-22 · updated 2026-11-22 · 0 comments

Found while supervising the safety lane (#2483’s re-recorded stderr).

Found (traced)

crates/nikaia-std/src/compiler/prover_walk.nika:3213 writes the help of a value from outside at a raw sink with a fixed placeholder root: (`dir.join({first}).path().to_text()`). Where the variable is itself dir (as in tests/compiler/tests/a_pub_parameter_at_a_raw_sink_is_from_outside.stderr), the help reads dir.join(dir).path().to_text(), which looks like joining the value under itself.

To build

Done when

No help text joins a variable under a root of the same name; the tests are green.

Back to Open Issues