Give checkOwnFamily the scope walk's signature, and drop its wrapper

This commit is contained in:
2026-09-29 13:14:15 +02:00
committed by Lillem4n
parent 0fde439d8b
commit 94c8bd229d
3 changed files with 6 additions and 16 deletions
-11
View File
@@ -24,17 +24,6 @@ func (f *drawFence) checkDrawGroup(path string, n node) error {
return nil
}
func checkOwnFamilies(path string, n node) error {
t, ok := n.(*template)
if !ok {
return nil
}
if err := checkOwnFamily(t); err != nil {
return fmt.Errorf("%s: %w", path, err)
}
return nil
}
func (f *drawFence) checkDraws(path string, n node) error {
t, ok := n.(*template)
if !ok {