Name the draw option drawGroup, refuse one whose reads all sit behind a nested draw group, and record why the two fences stay apart
Tests / vet + fmt + tests (pull_request) Successful in 1m7s
Tests / vet + fmt + tests (pull_request) Successful in 1m7s
This commit is contained in:
@@ -105,8 +105,8 @@ 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.group != "":
|
||||
return fmt.Errorf("the level %q carries a group, which a path reading into it cannot apply", name)
|
||||
case t.drawGroup != "":
|
||||
return fmt.Errorf("the level %q carries a drawGroup, which a path reading into it cannot apply", name)
|
||||
}
|
||||
return nil
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user