File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
ghcide/src/Development/IDE Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ import Data.Bifunctor (second)
8282import qualified Data.ByteString as BS
8383import qualified Data.DList as DL
8484import Data.IORef
85- import qualified Data.IntMap.Strict as IntMap
8685import Data.IntMap.Strict (IntMap )
8786import Data.List.Extra
8887import qualified Data.Map.Strict as MS
@@ -106,7 +105,6 @@ import Data.Binary
106105import Data.Coerce
107106import Data.Functor
108107import qualified Data.HashMap.Strict as HashMap
109- import qualified Data.Map as ML
110108import Data.Tuple.Extra (dupe )
111109import Data.Either.Extra (maybeToEither )
112110import Data.Unique as Unique
@@ -726,7 +724,7 @@ mergeEnvs env extraModSummaries extraMods envs = do
726724 -- To work around this, we coerce to the underlying type
727725 -- To remove this, I plan to upstream the missing Monoid instance
728726 concatFC :: [FinderCache ] -> FinderCache
729- concatFC = unsafeCoerce (mconcat @ (ML . Map InstalledModule InstalledFindResult ))
727+ concatFC = unsafeCoerce (mconcat @ (MS . Map InstalledModule InstalledFindResult ))
730728
731729withBootSuffix :: HscSource -> ModLocation -> ModLocation
732730withBootSuffix HsBootFile = addBootSuffixLocnOut
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ mkDocMap env rm this_mod =
6161 pure $ maybe mapToTyThing (extendNameEnv mapToTyThing n) kind
6262 | otherwise = pure mapToTyThing
6363 names = rights $ S. toList idents
64- idents = ML . keysSet rm
64+ idents = MS . keysSet rm
6565 mod = tcg_mod this_mod
6666
6767lookupKind :: HscEnv -> Module -> Name -> IO (Maybe TyThing )
You can’t perform that action at this time.
0 commit comments