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
-4
View File
@@ -26,10 +26,6 @@ least modify.
This round, in order:
- Make every switch over node kinds panic through `internalError` on a kind it does not
list, as `render` and `renderEdges` do, naming the kinds it skips: `contained` and
`paths` return nil. Correct `render`'s "a new node kind goes in both", which misses
the rest.
- Rename the load-time `draw*` types (`drawWalk`, `drawAt`, `drawRoute`, `drawCheck`)
to say they read and draw nothing, and move `drawWalk` and `tableRead` out of
`drawfence.go`: a grep for "draw" lands in render and check code alike.