Skip to content

Commit b9eb445

Browse files
committed
9.2 compat for CodeAction Exactprint
1 parent ff701a2 commit b9eb445

File tree

2 files changed

+196
-49
lines changed

2 files changed

+196
-49
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module Development.IDE.GHC.Compat(
1616
upNameCache,
1717
disableWarningsAsErrors,
1818
reLoc,
19+
reLocA,
1920
getErrorMessages',
2021
getMessages',
2122

@@ -128,6 +129,9 @@ import qualified Data.Set as S
128129
#if !MIN_VERSION_ghc(9,2,0)
129130
reLoc :: Located a -> Located a
130131
reLoc = id
132+
133+
reLocA :: Located a -> Located a
134+
reLocA = id
131135
#endif
132136

133137
#if !MIN_VERSION_ghc(8,8,0)

0 commit comments

Comments
 (0)