Closed usaoc closed 11 months ago
Thanks for the report!
I had mostly tested with error messages and locations from context ("stack trace") and rackunit.
I should have tested more the sort of thing you reported -- a single error that supplies multiple srclocs.
I'll merge a commit to fix, soon...
p.s. I believe I arose in commit 7f60acc last week for #493. Although I did a lot of testing, then, I overlooked testing with errors that supply multiple srclocs.
This is a weird one, but
racket-repl-goto-error-location
chokes when there are multiple error locations, and in particular every even number of error locations. For example,here,
RET
on the first (only) error location goes tofoo
as expected, buthere,
RET
on the second error location triggers “Wrong type argument:integer-or-marker-p
” (and furtherracket-run-module-at-point
is borked). Even worse,here,
RET
on the second error location triggers “Lisp nesting exceedsmax-lisp-eval-depth
”! You can try adding more error locations, which ends up cycling the pattern.