Answer architecture round 3: walk a table's row node in the cycle check, record where the read-once spelling meets an inline refusal, and cite goal 5.2 for a path tag drawing afresh
This commit is contained in:
@@ -174,6 +174,9 @@ func checkNoCycles(s nodeScope) error {
|
||||
inScope := map[node]bool{}
|
||||
_ = s(func(_ string, n node) error {
|
||||
inScope[n] = true
|
||||
if t, isTable := n.(*table); isTable {
|
||||
inScope[t.rowNode] = true // a selector lands on it, and contained lists it nowhere
|
||||
}
|
||||
return nil
|
||||
})
|
||||
color := map[node]int{}
|
||||
|
||||
Reference in New Issue
Block a user