Load shipped categories before binding, panic on an index that misses a read, and name the index entry and unloaded category plainly

This commit is contained in:
2026-10-03 17:20:36 +02:00
committed by Lillem4n
parent 81bb979164
commit 8b3bbc4003
10 changed files with 70 additions and 85 deletions
+2 -1
View File
@@ -258,7 +258,8 @@ func (s *structShape) compileRecord(root *folder, t reflect.Type, label string,
if err != nil {
return fmt.Errorf("%s: %w", label, err)
}
b := inlineBinding(n, label, root)
loadShipped(root, unloadedReads(root, nil, inlineScope(n, label)))
b := inlineBinding(n, label, root.children)
b.typedByGo = true
if err := b.bind(); err != nil {
return err