flycheck-inline icon indicating copy to clipboard operation
flycheck-inline copied to clipboard

Fix wrong type argument when errors have no columns

Open wyuenho opened this issue 11 months ago • 1 comments

For some checkers, sometimes the entire line can be just a single error and that error will not have any column info, in that case flycheck-inline-display-errors will raise a (wrong-type-argument number-or-marker-p nil) when trying to get the min of a list of nils. This PR fixes this issue.

@bbatsov

wyuenho avatar Feb 15 '25 18:02 wyuenho

I'm encountering this issue regularly in elisp files and bash files. This is a simple change and it would greatly improve my workflow (I have to disable flycheck-inline from time to time to see the error at point)

mattiasdrp avatar Apr 29 '25 09:04 mattiasdrp

Ping @bbatsov

wyuenho avatar Jul 11 '25 18:07 wyuenho