mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
7a110db60d
Previously, if the pointer for a syntax error pointed to the end of the file (and the file ended in a newline) the code snippet rendering would try to display a line _beyond_ the end of the file, causing a crash. Here, we detect that case, and display `<<end of file>>` instead. |
||
---|---|---|
.. | ||
ames.hoon | ||
behn.hoon | ||
clay.hoon | ||
dill.hoon | ||
eyre.hoon | ||
gall.hoon | ||
iris.hoon | ||
jael.hoon | ||
khan.hoon |