Skip to content

Commit 51afd18

Browse files
committed
Add comment on OldRealSrcSpan
1 parent 7816ae6 commit 51afd18

File tree

1 file changed

+1
-0
lines changed
  • plugins/hls-hlint-plugin/src/Ide/Plugin

1 file changed

+1
-0
lines changed

plugins/hls-hlint-plugin/src/Ide/Plugin/Hlint.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ import System.Environment (setEnv,
102102
unsetEnv)
103103
-- ---------------------------------------------------------------------
104104

105+
-- Reimplementing this, since the one in Development.IDE.GHC.Compat isn't for ghc-lib
105106
pattern OldRealSrcSpan :: RealSrcSpan -> SrcSpan
106107
#if MIN_GHC_API_VERSION(9,0,0)
107108
pattern OldRealSrcSpan span <- RealSrcSpan span _

0 commit comments

Comments
 (0)