Word the second-route and reference-draw overlap refusals apart from the format's own

This commit is contained in:
2026-09-29 14:50:08 +02:00
committed by Lillem4n
parent 487f60c6af
commit 2e57a38e0b
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func checkNameHeld(t *template, name string, readers []reader) error {
continue
}
if path != "" {
return fmt.Errorf("%s renders %q, which {%s} reads a path into; name the fields you want instead", e.reached(), name, path)
return fmt.Errorf("%s reaches %q by a second route, where {%s} holds it to one draw; name the fields you want instead", e.reached(), name, path)
}
return fmt.Errorf("%s renders %q, which a {%s()} also reads; reach it one way so it is drawn once", e.reached(), name, operandReader(t, name))
}
+1 -1
View File
@@ -356,5 +356,5 @@ func alternatives(a, b surveyAt) bool {
}
func overlapError(route surveyRoute, ref string, into pathRead) error {
return fmt.Errorf("%s renders a level that %s reads a path into; name the fields you want instead, or draw them apart with a drawGroup", route.spelled(ref), into.at.route.spelled(into.a.spelling))
return fmt.Errorf("%s reads whole the reference draw that %s reads a path into; name the fields you want instead, or draw them apart with a drawGroup", route.spelled(ref), into.at.route.spelled(into.a.spelling))
}
-2
View File
@@ -34,8 +34,6 @@ ranking `readSurvey.walk` and `edge` hardest and the unit they would least modif
This round, in order:
- Word the three overlap refusals apart, `checkNameHeld`'s, `checkNoOverlap`'s and
`overlapError`'s: three seats grepped one message to three fences.
- Compile a format in `format.go`: `linkTemplate` calls `compileFormat` in `node.go`,
which calls `compileOps` and `holdfence.go`'s two checks, and both architects placed
the step wrong.