code wiki / _hdl_build / nx_probe_arity_live.nx
nx_probe_arity_live.nx
buildroot/runtime/_hdl_build/nx_probe_arity_live.nx
about
nx_probe_arity_live.nx -- LIVE WITNESS for the in-compiler call-arity check (radar evidence 2026-08-05).
REPRO RECIPE: change the pa_two call below to `pa_two(1)` (drop an argument) and /api/build this target:
the build MUST FAIL with `nx_parse: call arity mismatch`. This file is kept VALID in-tree so corpus
builds never break (the compiler-root probe convention); the witness is the EDIT+BUILD cycle, run
2026-08-05 for the /compare/lang radar cell.
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 8 | func pa_two(a: i64, b: i64) -> i64 { return a + b } called by 1: main |
| 9 | func main(argc: i64, argv: *i64) -> i64 |