EPA: Use EpaLocation in WarningTxt
This MR is made of two commits.
The first non-controversially uses EpaLocation
for WarningTxt
locations.
The second requires a more careful review. It uses the non-comment version of EpaLocation
(NoCommentsLocation
) for the location of a possible trailing comma for a StringLiteral
. In order to avoid import loops, this requires moving EpaDelta
, EpaLocation'
and NoCommentsLocation
into GHC.Types.SrcLoc
.