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
Tests / vet + fmt + tests (pull_request) Successful in 1m6s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user