code wiki / (root) / _self_host_stmt_boundary_regression.nx

_self_host_stmt_boundary_regression.nx

buildroot/runtime/_self_host_stmt_boundary_regression.nx

1193 B48 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic self
docsdependenciesstructsconstsfunctions

about

Regression for at_stmt_boundary refinement (2026-05-16). PREVENT additive: newline-after-expression continues into bitwise operators (`|`, `&`, `^`), comparisons (`==`, `<`, ...), shifts (`<<`, `>>`), and logical (`&&`, `||`). They can never start a statement, so they're continuations. Ambiguous tokens (`*`, `-`, `&`, `+`) still trigger boundary -- preserves the F-meta-2 fix. Passing case returns 0. Failing case returns 1, 2, or 3.

dependencies 1 imports · 0 importers

nx_syscalls.nx _self_host_stmt_boundary_regre

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 test_multiline_or test_multiline_compare test_multiline_shift

structs

none

consts

none

functions

15func test_multiline_or() -> i64 {
called by 1: main
23func test_multiline_compare() -> i64 {
called by 1: main
33func test_multiline_shift() -> i64 {
called by 1: main
40func main() -> i64 {