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
+1 -1
View File
@@ -165,7 +165,7 @@ func renderEdges(n node) []renderEdge {
// already proved the tail resolves in every variant.
func pathLeaves(n node, tail []string) []node {
w := &pathCheck{tail: tail}
_, _ = w.walk(n, tail)
_, _ = w.run(n)
return w.leaves
}