Skip to content

Commit a310528

Browse files
committed
Adapt to GHC 9.8.2 API changes
1 parent 949f3b8 commit a310528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Import/FindImports.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ notFoundErr env modName reason =
238238
}
239239
LookupUnusable unusable ->
240240
let unusables' = map get_unusable unusable
241-
#if MIN_VERSION_ghc(9,6,4) && !MIN_VERSION_ghc(9,8,1)
241+
#if MIN_VERSION_ghc(9,6,4) && (!MIN_VERSION_ghc(9,8,1) || MIN_VERSION_ghc(9,8,2))
242242
get_unusable (m, ModUnusable r) = r
243243
#else
244244
get_unusable (m, ModUnusable r) = (moduleUnit m, r)

0 commit comments

Comments
 (0)