code wiki / (root) / nx_argmacro_probe.nx

nx_argmacro_probe.nx

buildroot/runtime/nx_argmacro_probe.nx

656 B15 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_argmacro_probe.nx -- MINIMAL repro for arg-macro expansion (id 1785514019). nx_macro_test is a large file with a big import closure and NESTED macro use (MAX's body calls SQ), so its failure cannot distinguish "the mechanism is broken" from "the mechanism works but not at scale / not nested". This isolates ONE arg macro, one use, no nesting, tiny closure. exit 0 = arg expansion WORKS. exit 1 = expanded but wrong value. build failure = mechanism dead. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_argmacro_probe.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

11func main() -> i64