File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
ghcide/src/Development/IDE Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ module Development.IDE.GHC.Compat.Util (
6868 hGetStringBuffer ,
6969 stringToStringBuffer ,
7070 nextChar ,
71- atEnd
71+ atEnd ,
72+ -- * Char
73+ is_ident
7274 ) where
7375
7476#if MIN_VERSION_ghc(9,0,0)
@@ -81,6 +83,7 @@ import GHC.Data.FastString
8183import GHC.Data.Maybe
8284import GHC.Data.Pair
8385import GHC.Data.StringBuffer
86+ import GHC.Parser.CharClass (is_ident )
8487import GHC.Types.Unique
8588import GHC.Types.Unique.DFM
8689import GHC.Utils.Fingerprint
@@ -90,6 +93,7 @@ import GHC.Utils.Panic hiding (try)
9093#else
9194import Bag
9295import BooleanFormula
96+ import Ctype (is_ident )
9397import EnumSet
9498import qualified Exception
9599import FastString
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ import Control.Arrow (second,
2424import Control.Concurrent.STM.Stats (atomically )
2525import Control.Monad (guard , join )
2626import Control.Monad.IO.Class
27- #if !MIN_VERSION_ghc(9,0,0)
28- import Ctype (is_ident )
29- #endif
3027import Data.Char
3128import qualified Data.DList as DL
3229import Data.Function
@@ -60,9 +57,6 @@ import Development.IDE.Types.Exports
6057import Development.IDE.Types.Location
6158import Development.IDE.Types.Options
6259import qualified GHC.LanguageExtensions as Lang
63- #if MIN_VERSION_ghc(9,0,0)
64- import GHC.Parser.CharClass (is_ident )
65- #endif
6660import Ide.PluginUtils (subRange )
6761import Ide.Types
6862import qualified Language.LSP.Server as LSP
You can’t perform that action at this time.
0 commit comments