Skip to content

Commit fa0d4de

Browse files
committed
fix SrcSpanAnn
1 parent 8730bf7 commit fa0d4de

File tree

1 file changed

+3
-0
lines changed
  • ghcide/src/Development/IDE/GHC/Compat

1 file changed

+3
-0
lines changed

ghcide/src/Development/IDE/GHC/Compat/Core.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,9 @@ import GHC.Unit.Module.ModDetails
548548
import GHC.Unit.Module.ModGuts
549549
import GHC.Unit.Module.ModIface (IfaceExport, ModIface,
550550
ModIface_ (..), mi_fix
551+
#if !MIN_VERSION_ghc(9,9,0)
552+
import GHC.Hs (SrcSpanAnn')
553+
#endif
551554
#if MIN_VERSION_ghc(9,11,0)
552555
, pattern ModIface
553556
, set_mi_top_env

0 commit comments

Comments
 (0)