Refuse a selector on a template before its level fence, give pathCheck one entry over its own tail, and scope the probe decision to descend

This commit is contained in:
2026-09-28 00:36:33 +02:00
committed by Lillem4n
parent d95045f4ac
commit 060fb42fee
3 changed files with 12 additions and 7 deletions
+5 -5
View File
@@ -688,8 +688,8 @@ though `hasRead` states the same stop rule. Valid while the two differ in where
2026-09-28, larv-review on systems-architect's finding; awaiting approval. Goals 2 and
11: `pathCheck`, `pathCover`, `pathProbe` and `pathDraw` each loop over `stepInto` and
`table.route` themselves, and `descend` and `tableReadOf` build their probe in place, so
its `drawn` map stays on the stack. One walk calling them through an interface or a type parameter
leaks the walker and the pins it holds, an allocation per reference read. Valid while Go's
escape analysis treats a call through an interface or a type parameter as leaking its
receiver.
`table.route` themselves, and `descend` builds its probe in place, so the probe's
`drawn` map stays on the stack. One walk calling them through an interface or a type
parameter leaks the walker and the pins it holds, an allocation per reference read.
Valid while Go's escape analysis treats a call through an interface or a type parameter
as leaking its receiver.