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
+3 -3
View File
@@ -47,11 +47,11 @@ func shippedShape(f *Generator) string {
facts[prefix] = "\tformat " + strconv.Quote(n.format) + readsFact(n)
if record, err := recordOf(n); err == nil {
for _, c := range record.columns {
fact := "\t" + c.DataType.String()
if _, nullable := columnItems(n.fields[c.Name]); nullable {
fact := "\t" + c.datatype.String()
if _, nullable := columnItems(c.field); nullable {
fact += " null"
}
facts[join(prefix, c.Name)] = fact
facts[join(prefix, c.name)] = fact
}
}
}