Skip to content

EPA: Use EpaLocation in WarningTxt

Alan Zimmerman requested to merge wip/az/epa-warningtxt-epalocation into master

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.

Merge request reports