Skip to content

Commit 581cff3

Browse files
committed
fix: update NFData instance for GHC version checks in Orphans.hs
1 parent 82e2441 commit 581cff3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ instance NFData Unlinked where
7070
rnf (DotDLL f) = rnf f
7171
#if MIN_VERSION_ghc(9,5,0)
7272
rnf (CoreBindings wcb) = rnf wcb
73+
#endif
74+
#if MIN_VERSION_ghc(9,5,0) && !MIN_VERSION_ghc(9,11,0)
7375
rnf (LoadedBCOs us) = rnf us
7476
#endif
7577

0 commit comments

Comments
 (0)