Skip to content

Commit 5817383

Browse files
committed
Delete useAnnotatedParsedSource (not used anywhere)
1 parent 411db02 commit 5817383

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ module Development.IDE.GHC.ExactPrint
2323
transformM,
2424
ExactPrint(..),
2525
#if !MIN_VERSION_ghc(9,2,0)
26-
useAnnotatedSource,
2726
Anns,
2827
Annotate,
2928
setPrecedingLinesT,
@@ -122,16 +121,6 @@ annotateParsedSource :: ParsedModule -> Annotated ParsedSource
122121
annotateParsedSource = fixAnns
123122
#endif
124123

125-
#if !MIN_VERSION_ghc(9,2,0)
126-
useAnnotatedSource ::
127-
String ->
128-
IdeState ->
129-
NormalizedFilePath ->
130-
IO (Maybe (Annotated ParsedSource))
131-
useAnnotatedSource herald state nfp =
132-
runAction herald state (use GetAnnotatedParsedSource nfp)
133-
#endif
134-
135124
------------------------------------------------------------------------------
136125

137126
{- | A transformation for grafting source trees together. Use the semigroup

0 commit comments

Comments
 (0)