We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a0d94 commit bcc793eCopy full SHA for bcc793e
plugins/hls-gadt-plugin/src/Ide/Plugin/GHC.hs
@@ -30,8 +30,11 @@ import GHC.Parser.Annotation (AddEpAnn (..),
30
EpAnnComments (EpaComments),
31
EpaLocation (EpaDelta),
32
SrcSpanAnn' (SrcSpanAnn),
33
- TokenLocation (..),
34
- spanAsAnchor)
+ spanAsAnchor,
+#if MIN_VERSION_ghc(9,5,0)
35
+ TokenLocation (..)
36
+#endif
37
+ )
38
import Language.Haskell.GHC.ExactPrint (showAst)
39
#else
40
import qualified Data.Map.Lazy as Map
0 commit comments