Correct off by one error in ghci +c
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
.
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
.