Answer architecture round 1: the read-once check back at link over uses from the compiled arms, every link step taking its inputs as arguments in link.go, a record column holding its name and datatype, and items 104 to 106 dropped from the plan with the decisions citing them reworded

This commit is contained in:
2026-10-05 22:30:40 +02:00
committed by Lillem4n
parent cd7f0a04dc
commit 0993d86f22
18 changed files with 314 additions and 285 deletions
+2 -2
View File
@@ -272,8 +272,8 @@ func (s *structShape) compileRecord(root *folder, t reflect.Type, label string,
proof := &valueProof{}
s.fieldIndexes = make([][]int, len(record.columns))
for i, c := range record.columns {
sf, _ := t.FieldByName(c.Name)
if err := proof.checkField(label+"."+c.Name, sf.Type, record.fields[c.Name]); err != nil {
sf, _ := t.FieldByName(c.name)
if err := proof.checkField(label+"."+c.name, sf.Type, c.field); err != nil {
return err
}
s.fieldIndexes[i] = sf.Index