Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33
+1
-2
@@ -185,8 +185,7 @@ func disagreement(a *template, da DataType, b *template, db DataType) error {
|
|||||||
return disagreementFix(kindOf(d.fix), kindOf(d.other), proven)(d)
|
return disagreementFix(kindOf(d.fix), kindOf(d.other), proven)(d)
|
||||||
}
|
}
|
||||||
|
|
||||||
// disagreementFix is the fix for item fix beside item other, where proven says fix's values hold
|
// proven says fix's values hold other's datatype.
|
||||||
// the other's datatype.
|
|
||||||
func disagreementFix(fix, other itemKind, proven bool) func(d itemPair) error {
|
func disagreementFix(fix, other itemKind, proven bool) func(d itemPair) error {
|
||||||
switch {
|
switch {
|
||||||
case fix == kindDeclares:
|
case fix == kindDeclares:
|
||||||
|
|||||||
Reference in New Issue
Block a user