Skip to content

Correct off by one error in ghci +c

Matthew Pickering requested to merge wip/ghci-check-span into master

Fixes #16569 (closed)

RealSrcSpan actually stores the column after the end of the span. This off-by-one-ness is corrected when pretty printing so it is necessary to do the same here for spans collected by +c.

Merge request reports