Answer stability round 1: README's pick.go and datatype.go rows name what stayed, geo.py's options sort with each script's own, geo.py claims only shared steps, route defines fromRow as pathPos does, and disagreement's panic names the kinds

This commit is contained in:
2026-10-07 02:18:45 +02:00
committed by Lillem4n
parent ab8f375ae4
commit 2431edeab0
6 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ func disagreement(a *template, da DataType, b *template, db DataType) error {
}
message, ok := disagreements[[2]itemKind{kindOf(c.fix), kindOf(c.other)}]
if !ok {
panic(invariant.Broken("two text items hold one datatype, so they never disagree"))
panic(invariant.Broken("disagreement has no message for item kinds %d and %d; two text items hold one datatype, so they never disagree", kindOf(c.fix), kindOf(c.other)))
}
return message(c)
}