Answer stability round 1, prose round 1 and product-owner round 1: startOf's doc names the head, the old senses leave names, comments, messages and tests, and the vocabulary defines scope, link and head

This commit is contained in:
2026-10-07 00:56:45 +02:00
committed by Lillem4n
parent 98bb73f096
commit 63223c6d63
25 changed files with 81 additions and 80 deletions
+4 -4
View File
@@ -183,18 +183,18 @@ func checkNoCycles(s nodeSet) error {
grey = 1
black = 2
)
inScope := map[node]bool{}
inSet := map[node]bool{}
_ = s(func(_ string, n node) error {
inScope[n] = true
inSet[n] = true
if t, isTable := n.(*table); isTable {
inScope[t.rowNode] = true // a selector lands on it, and contained lists it nowhere
inSet[t.rowNode] = true // a selector lands on it, and contained lists it nowhere
}
return nil
})
color := map[node]int{}
var visit func(n node, label string) error
visit = func(n node, label string) error {
if !inScope[n] {
if !inSet[n] {
return nil // loaded before these nodes and proven then, so it never reaches back into it
}
switch color[n] {