Report every invariant break through internalError

This commit is contained in:
2026-09-29 01:38:45 +02:00
committed by Lillem4n
parent 3aa747de02
commit 514d738b08
13 changed files with 25 additions and 27 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func (p *pinSet) pinned(t *table) (int, bool) {
func (p *pinSet) mustRow(t *table) int {
r, ok := p.pinned(t)
if !ok {
panic(fmt.Sprintf("fejkdata: a column of %s is rendered with no row pinned", t.category))
panic(internalError("a column of %s is rendered with no row pinned", t.category))
}
return r
}