currently crying inconsolably at my parser as I try to get it to give me a proper error message in one very particular case and instead it just says something completely nonsensical.
who wrote this shit
nevermind fixed it
legit took me a minute to figure out that this error is, indeed, correct.
And I'm kind of annoyed that I think I have to add very special-case errors just to give more useful messages for weird corner cases like this.
@zkat Is your code public?
If not can I ask which tools you used for your parser and these nice error messages?
@tant winnow + miette (rust). The repo is over at https://github.com/kdl-org/kdl-rs although the error recovery stuff is in a PR right now