Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpj committed Jul 31, 2023
1 parent 18a0d94 commit bcc793e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions plugins/hls-gadt-plugin/src/Ide/Plugin/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ import GHC.Parser.Annotation (AddEpAnn (..),
EpAnnComments (EpaComments),
EpaLocation (EpaDelta),
SrcSpanAnn' (SrcSpanAnn),
TokenLocation (..),
spanAsAnchor)
spanAsAnchor,
#if MIN_VERSION_ghc(9,5,0)
TokenLocation (..)
#endif
)
import Language.Haskell.GHC.ExactPrint (showAst)
#else
import qualified Data.Map.Lazy as Map
Expand Down

0 comments on commit bcc793e

Please sign in to comment.