Name a missing header for a file of only newlines, and drop the overstated comment on the walk's draw order
Tests / vet + fmt + tests (pull_request) Successful in 1m8s
Tests / Gitea release from CHANGELOG.md (pull_request) Has been skipped

This commit is contained in:
2026-09-17 13:23:51 +02:00
parent 7abd3e2d95
commit 6b06445c32
2 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -223,8 +223,7 @@ func walkTable(t *table, tail []string, w pathWalk, descended bool) (node, error
if err != nil {
return nil, err
}
// Resolved before any draw, so a path that fails moves no seeded stream. A
// selector further down pins this table by ancestry, so the walk draws only
// A selector further down pins this table by ancestry, so the walk draws only
// where none follows; drawing first could pick a row the selector is not inside.
if w.pins != nil {
if err := readRow(w.pins, t, sel, (descended || len(tail) > 0) && !hasSelector(tail)); err != nil {