_nx_dupdef_live_probe.nx
buildroot/runtime/_nx_dupdef_live_probe.nx
about
RETIRED PROBE -- kept as documentation, deliberately made VALID so it cannot break a
corpus build. On 2026-07-31 this file held two definitions of dup_live and was used to
prove, on the NAS through the real /api/build path, that the duplicate-definition guard
is LIVE in the shipped toolchain (debt 1785447657). The compiler answered:
nx_parse: line 8: duplicate definition of 'dup_live' -- already defined at line 5
Before the guard, exactly this shape compiled into a clean working binary and let one
body silently win, with no diagnostic. To re-prove it, duplicate the function below and
build this target: BUILD-FAILED naming both lines is the expected, correct answer.
dependencies 0 imports · 0 importers
imports: none
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
| 11 | func dup_live(a: i64) -> i64 called by 1: main |
| 14 | func main() -> i64 { return dup_live(0) } calls 1: dup_live |