Rename checkResolves to checkPathResolves

This commit is contained in:
2026-09-30 21:45:26 +02:00
committed by Lillem4n
parent 698ac036d5
commit 0b5124d4d5
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -472,12 +472,12 @@ func unreachableInChoice(c *choice, want string) error {
return fmt.Errorf("not every variant of this %d-way choice carries %q; all carry %v", len(c.items), want, offered)
}
func checkResolves(n node, tail []string, level string) error {
func checkPathResolves(n node, tail []string, level string) error {
_, err := (&pathCheck{level: level, tail: tail}).run(n)
return err
}
// compilePath compiles a path checkResolves proved.
// compilePath compiles a path checkPathResolves proved.
func compilePath(n node, tail []string) pathCheck {
w := pathCheck{tail: tail}
if _, err := w.run(n); err != nil {