Skip to content

Commit 596bb42

Browse files
committed
feat: add entityInfo to mkHieFile' for GHC 9.11.0 compatibility
1 parent 5b3619f commit 596bb42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,9 @@ mkHieFile' ms exports
372372
-- mkIfaceExports sorts the AvailInfos for stability
373373
, hie_exports = mkIfaceExports exports
374374
, hie_hs_src = src
375+
#if MIN_VERSION_ghc(9,11,0)
376+
, hie_entity_infos = entityInfo
377+
#endif
375378
}
376379

377380
addIncludePathsQuote :: FilePath -> DynFlags -> DynFlags

0 commit comments

Comments
 (0)