From 86118e27101cb82af3fdddd2f9b105ffc678417b Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 28 Sep 2026 11:00:39 +0200 Subject: [PATCH] Name the both-declared case in disagreement's comment --- datatype.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datatype.go b/datatype.go index 028cb65..80e1ede 100644 --- a/datatype.go +++ b/datatype.go @@ -158,7 +158,7 @@ func columnItems(n node) (items []*template, nullable bool) { } // disagreement names the fix for two items of one column holding different datatypes. The item to -// fix declares none, and is text where the other reads a typed column. +// fix declares none unless both do, and is text where the other reads a typed column. func disagreement(a *template, da DataType, b *template, db DataType) error { fix, has, other, want := a, da, b, db if da != DataTypeString && (a.datatype != DataTypeString || db == DataTypeString) {