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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user