Issue #2907: the ledger’s signature spells a result’s sources -> ref(a | b) String…

Open and answer this issue on GitHub.

ready, bugs, queued · opened 2026-11-28 · updated 2026-11-29 · 0 comments

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

Found

the ledger’s signature spells a result’s sources -> ref(a | b) String and a kept parameter without keep ((mut bx: Box, s: String) -> i64 plus keeps = ["s"]), while Part III’s signature row and ADR-views-v4 D10 say the source’s spelling -> String from a | b and keep s; probe: a package with pub fn wide(a: String, b: String) -> String from a | b { return a.trim() } built with target/fast/nikaia gives signature = "(a: String, b: String) -> ref(a | b) String" in nikaia.contracts; suspected the signature writer in crates/nikaia-std/src/compiler/ledger.nika (and its reader, rule pointed), every committed ledger in the tree changes with it, so it did not fit this run

To build

Done when

The probe or check gives the expected output the first item names from its ADR or Part I-III section, and a tests/compiler/tests/ test (or the named check) that failed on the unfixed tree is green; or the probe already passes on develop and a test pins it, naming the commit that fixed it; or the issue is closed as by design, naming the function or ADR.


Generated by Claude Code

Back to Open Issues