Render a repeat iteration in no group, refuse a group that names nothing, key group names by category, and own reference overlap in one fence
Tests / vet + fmt + tests (pull_request) Successful in 1m6s

This commit is contained in:
2026-09-15 23:31:48 +02:00
parent f6b8f4fb50
commit d3f430bf53
9 changed files with 203 additions and 106 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ func checkPath(n node, tail []string, level string) error {
switch {
case t.repeat > 1:
return fmt.Errorf("the level %q carries a repeat, which a path reading one draw of it cannot apply", name)
case t.drawGroup != "":
case t.group != "":
return fmt.Errorf("the level %q carries a group, which a path reading into it cannot apply", name)
}
return nil