Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33
+1
-1
@@ -85,7 +85,7 @@ func checkColumns(s nodeScope) error {
|
|||||||
if len(items) == 0 {
|
if len(items) == 0 {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
first := itemDatatype(items[0])
|
first := columnDatatype(column)
|
||||||
for _, it := range items[1:] {
|
for _, it := range items[1:] {
|
||||||
if d := itemDatatype(it); d != first {
|
if d := itemDatatype(it); d != first {
|
||||||
return fmt.Errorf("%s: field %q: %w", path, name, disagreement(items[0], first, it, d))
|
return fmt.Errorf("%s: field %q: %w", path, name, disagreement(items[0], first, it, d))
|
||||||
|
|||||||
Reference in New Issue
Block a user