Skip to content

Commit e7160a9

Browse files
committed
update
1 parent 3d58a93 commit e7160a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ import qualified Development.IDE.GHC.Compat.Util as Util
2424
import GHC.Core
2525
import GHC.CoreToIface
2626
import GHC.Fingerprint
27+
#if MIN_VERSION_ghc(9,11,0)
28+
import qualified GHC.Iface.Load as Iface
29+
#endif
2730
import GHC.Iface.Binary
2831
import GHC.Iface.Env
2932
import GHC.Iface.Recomp.Binary (fingerprintBinMem)
@@ -97,7 +100,7 @@ writeBinCoreFile dflag core_path fat_iface = do
97100
#if !MIN_VERSION_ghc(9,11,0)
98101
putWithUserData quietTrace bh fat_iface
99102
#else
100-
putWithUserData (Iface.flagsToIfCompression dflag) quietTrace bh fat_iface
103+
putWithUserData quietTrace (Iface.flagsToIfCompression dflag) bh fat_iface
101104
#endif
102105

103106
-- And send the result to the file

0 commit comments

Comments
 (0)