Give check, children, column, columns, draw, drawn, fields, format, head, index, key, n, name, named, names, null, number, op, reads, record, root, row, t and whole one meaning each
This commit is contained in:
+2
-2
@@ -89,7 +89,7 @@ func checkColumns(s nodeScope) error {
|
||||
}
|
||||
return s(func(path string, n node) error {
|
||||
t, ok := n.(*template)
|
||||
if !ok || !t.record {
|
||||
if !ok || !t.isRecord {
|
||||
return nil
|
||||
}
|
||||
for _, name := range sortedNames(t.fields) {
|
||||
@@ -149,7 +149,7 @@ func columnItems(n node) (items []*template, nullable bool) {
|
||||
}
|
||||
case *template:
|
||||
items = append(items, n)
|
||||
case *null:
|
||||
case *nullItem:
|
||||
nullable = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user