urbit/pkg/arvo/sys/vane
fang fe3de74620
clay: render syntax errors at end of file
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.

(Originally merged through #5812, but got lost somewhere along the way.)

Fixes #6287.
2023-02-17 13:26:55 +01:00
..
ames.hoon ames: no-op on %kroc task 2023-02-14 06:07:59 +01:00
behn.hoon behn: cleans up comments 2022-06-17 22:20:16 -04:00
clay.hoon clay: render syntax errors at end of file 2023-02-17 13:26:55 +01:00
dill.hoon boot: partial prop support 2023-01-23 20:34:56 +01:00
eyre.hoon eyre: revert inclusion of HttpOnly header for now 2023-02-13 20:58:59 +02:00
gall.hoon ames: clean all stale %watches in on-kroc 2023-02-06 16:38:04 +01:00
iris.hoon strandio: fail when http request gets cancelled 2021-09-28 20:51:51 +04:00
jael.hoon Merge branch 'next/dill' into next/arvo 2023-01-10 20:22:29 +01:00
khan.hoon clay: defer all calls to %wick 2022-10-26 22:09:53 -07:00