code wiki / _hdl_build / nx_shadow_probe.nx

nx_shadow_probe.nx

buildroot/runtime/_hdl_build/nx_shadow_probe.nx

454 B6 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_shadow_probe.nx -- decides NishiLang same-name resolution when a LOCAL func coexists with an IMPORTED one. Local g_pn prints a marker; if output is SHADOW_LOCAL the local shadows the import (coexistence is behaviour-safe); if it prints "7" the import wins (coexistence UNSAFE). license_tier: ORIGINAL

dependencies 1 imports · 0 importers

nx_gate_emit_lib.nx nx_shadow_probe.nx

imports: nx_gate_emit_lib.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main g_pn g_puts sys_write

structs

none

consts

none

functions

5func g_pn(v: i64) -> i64 { g_puts("SHADOW_LOCAL\n" as *u8); return 0 }
called by 1: main calls 1: g_puts
6func main() -> i64 { g_pn(7); return 0 }
calls 1: g_pn