Issue #2950: Part I 5.3 writes a typed lambda parameter fn(x: i64) { … }, but the…

Open and answer this issue on GitHub.

decision, bugs · opened 2026-11-29 · updated 2026-11-29 · 0 comments

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

Found

Part I 5.3 writes a typed lambda parameter fn(x: i64) { … }, but the parser refuses it: fn main() throws {\n let h = fn(a: i64) { a + 1 }\n println(f"{h(1)}")\n} gives “error: Expected ) here, but found :.” on a binary built from ae9ea74ae; either the parser lacks the form or 5.3’s Their types: written line is stale, no decision yet; suspected: the lambda parameter rule of the parser’s grammar block

Check missing

The Found suspects a cause but names no check that settles it (docs/issues.md I7). The second item runs one (nikaia run scripts/where.nika, a probe, callgrind) before anything is built on it; a cause shown false is answered wrong I7: ... in the report.

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