Answer architecture round 2: a keyed walk position, a plainer Above test, and docs naming the owner and the key-name refusal

This commit is contained in:
2026-10-05 21:50:00 +02:00
committed by Lillem4n
parent 29a5314f60
commit 36329f1328
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ func takeStep(at *pathPos, whole []string, level string, steps []pathStep, pins
if err != nil {
return steps, err
}
*at = pathPos{r.next, r.rest, r.descends}
*at = pathPos{n: r.next, tail: r.rest, descended: r.descends}
return routeSteps(steps, pins, x, r, i)
case *template:
if x.repeat > 1 && !grammar.IsSelector(at.tail[0]) {