Skip to content

Commit af182dd

Browse files
committed
Try ghc-lib-parser for BufSpan
1 parent ae54504 commit af182dd

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ import "ghc-lib" GHC hiding
7373
ms_hspp_opts)
7474
import qualified "ghc-lib" GHC
7575
#if MIN_GHC_API_VERSION(9,0,0)
76-
import "ghc-lib" GHC.Types.SrcLoc (BufSpan)
76+
import "ghc-lib-parser" GHC.Types.SrcLoc (BufSpan)
7777
#endif
7878
import "ghc-lib-parser" GHC.LanguageExtensions (Extension)
7979
import Language.Haskell.GhclibParserEx.GHC.Driver.Session as GhclibParserEx (readExtension)

0 commit comments

Comments
 (0)