Leave column agreement to the records that read DataType, name the text spelling beside a typed column read, and check a column after the columns it reads
Tests / vet + fmt + tests (pull_request) Successful in 1m3s

This commit is contained in:
2026-09-15 21:13:34 +02:00
parent f781fa47d1
commit acad25708a
6 changed files with 55 additions and 24 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ func (s *structShape) compileRecord(root map[string]node, t reflect.Type, label
if err != nil {
return fmt.Errorf("%s: %w", label, err)
}
if err := bindInline(n, label, root); err != nil {
if err := bindInline(n, label, root, checkRenders); err != nil {
return err
}
record, columns, err := recordOf(n)