establish a fairly fundamental invariant
commit0751b389321cde6db5528704fc3613910f30ccbb
authorKartik K. Agaram <vc@akkartik.com>
Sat, 25 Nov 2023 03:16:33 +0000 (24 19:16 -0800)
committerKartik K. Agaram <vc@akkartik.com>
Sat, 25 Nov 2023 03:16:33 +0000 (24 19:16 -0800)
tree539445be317387f4dcba5a3f9548a585543c40f9
parent48c05aa77a6a06329f4764ab511e39611262c23f
establish a fairly fundamental invariant

This commit doesn't guarantee we'll always catch it. But if this
invariant is violated, things can get quite difficult to debug. I found
in the Lua Carousel fork that all the xpcalls I keep around were
actively hindering my ability to notice this invariant being violated.
source_text.lua
text.lua