File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ghcide/src/Development/IDE/Core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1029,7 +1029,7 @@ getDocsNonInteractive' name =
10291029-- | Non-interactive modification of 'GHC.Runtime.Eval.getDocs'.
10301030-- The interactive paths create problems in ghc-lib builds
10311031--- and lead to fun errors like "Cannot continue after interface file error".
1032- getDocsNonInteractive :: HscEnv -> Module -> Name -> IO (Either ErrorMessages (Name , Either GetDocsFailure (Maybe HsDocString , Maybe (Map. Map Int HsDocString ))))
1032+ getDocsNonInteractive :: HscEnv -> Module -> Name -> IO (Either GHC. ErrorMessages (Name , Either GetDocsFailure (Maybe HsDocString , Maybe (Map. Map Int HsDocString ))))
10331033getDocsNonInteractive hsc_env mod name = do
10341034 ((_warns,errs), res) <- initTypecheckEnv hsc_env mod $ getDocsNonInteractive' name
10351035 pure $ maybeToEither errs res
@@ -1041,7 +1041,7 @@ getDocsBatch
10411041 -> Module -- ^ a moudle where the names are in scope
10421042 -> [Name ]
10431043 -- 2021-11-18: NOTE: Map Int would become IntMap if next GHCs.
1044- -> IO (Either ErrorMessages (Map. Map Name (Either GetDocsFailure (Maybe HsDocString , Maybe (Map. Map Int HsDocString )))))
1044+ -> IO (Either GHC. ErrorMessages (Map. Map Name (Either GetDocsFailure (Maybe HsDocString , Maybe (Map. Map Int HsDocString )))))
10451045 -- ^ Return a 'Map' of 'Name's to 'Either' (no docs messages) (general doc body & arg docs)
10461046getDocsBatch hsc_env mod names = do
10471047 ((_warns,errs), res) <- initTypecheckEnv hsc_env mod $ Map. fromList <$> traverse getDocsNonInteractive' names
You can’t perform that action at this time.
0 commit comments