Panic through internalError on a node kind contained or paths does not list

This commit is contained in:
2026-09-29 02:31:52 +02:00
committed by Lillem4n
parent a82e937412
commit 38837b86a8
4 changed files with 7 additions and 7 deletions
+3 -1
View File
@@ -73,8 +73,10 @@ func contained(n node) []namedNode {
}
}
return out
default:
case *nullItem, *tableRow:
return nil
default:
panic(internalError("contained has no case for node %T", n))
}
}