carbon-lang
carbon-lang copied to clipboard
Include parse node being checked in crash backtrace.
When we crash, include the source location of the parse node that we were handling, as well as the name of the check function that we were calling. Also include the source snippet, since it's easy to do so, and may avoid the need to look at the input file in some cases.