code wiki / (root) / nx_smoke_repro.nx

nx_smoke_repro.nx

buildroot/runtime/nx_smoke_repro.nx

1051 B47 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind smoketopic smoke
docsdependenciesstructsconstsfunctions

about

smoke_repro.nx -- minimal repro of codegen bug. Mirrors lex.nx's lex_ident_or_kw shape: alloc one struct, init fields, alloc another struct, init fields, while loop that reads struct fields. Should exit 7.

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_smoke_repro.nx

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

main sys_mmap work sys_mmap ↻

structs

15struct S

consts

none

functions

21func work(L: *S) -> i64
called by 1: main calls 1: sys_mmap
39func main() -> i64
calls 2: sys_mmapwork