code wiki / (root) / nx_probe_linemap_live.nx

nx_probe_linemap_live.nx

buildroot/runtime/nx_probe_linemap_live.nx

773 B17 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probetopic probe
docsdependenciesstructsconstsfunctions

about

nx_probe_linemap_live.nx -- WITNESS for the per-file line map (nx_linemap.nx). The witness works by making the two answers impossible to confuse. This file imports nx_syscalls.nx (~46 KB, ~1200 lines), so the undefined call below sits at a SMALL line in THIS file and a LARGE line in the flattened expanded buffer: BEFORE (no map): error at line ~1200: I do not know the name ... AFTER (map on): error at nx_probe_linemap_live.nx:<small>: I do not know the name ... Three orders of magnitude apart, and the AFTER names the file. No judgement call. expect_exit: nonzero -- this file is SUPPOSED to fail to compile.

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_probe_linemap_live.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

15func main() -> i64