File tree 2 files changed +2
-4
lines changed
ghcide/src/Development/IDE
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)
82
82
import qualified Data.ByteString as BS
83
83
import qualified Data.DList as DL
84
84
import Data.IORef
85
- import qualified Data.IntMap.Strict as IntMap
86
85
import Data.IntMap.Strict (IntMap )
87
86
import Data.List.Extra
88
87
import qualified Data.Map.Strict as MS
@@ -106,7 +105,6 @@ import Data.Binary
106
105
import Data.Coerce
107
106
import Data.Functor
108
107
import qualified Data.HashMap.Strict as HashMap
109
- import qualified Data.Map as ML
110
108
import Data.Tuple.Extra (dupe )
111
109
import Data.Either.Extra (maybeToEither )
112
110
import Data.Unique as Unique
@@ -726,7 +724,7 @@ mergeEnvs env extraModSummaries extraMods envs = do
726
724
-- To work around this, we coerce to the underlying type
727
725
-- To remove this, I plan to upstream the missing Monoid instance
728
726
concatFC :: [FinderCache ] -> FinderCache
729
- concatFC = unsafeCoerce (mconcat @ (ML . Map InstalledModule InstalledFindResult ))
727
+ concatFC = unsafeCoerce (mconcat @ (MS . Map InstalledModule InstalledFindResult ))
730
728
731
729
withBootSuffix :: HscSource -> ModLocation -> ModLocation
732
730
withBootSuffix HsBootFile = addBootSuffixLocnOut
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ mkDocMap env rm this_mod =
61
61
pure $ maybe mapToTyThing (extendNameEnv mapToTyThing n) kind
62
62
| otherwise = pure mapToTyThing
63
63
names = rights $ S. toList idents
64
- idents = ML . keysSet rm
64
+ idents = MS . keysSet rm
65
65
mod = tcg_mod this_mod
66
66
67
67
lookupKind :: HscEnv -> Module -> Name -> IO (Maybe TyThing )
You can’t perform that action at this time.
0 commit comments