Skip to content

Commit 0a87017

Browse files
committed
ghcide: Compile: m: upd
1 parent 68ebfdf commit 0a87017

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

ghcide/src/Development/IDE/Core/Compile.hs

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,17 +1052,7 @@ getDocsNonInteractive
10521052
:: HscEnv
10531053
-> Module
10541054
-> Name
1055-
-> IO
1056-
( Either
1057-
GHC.ErrorMessages
1058-
( Name
1059-
, Either
1060-
GetDocsFailure
1061-
( Maybe HsDocString
1062-
, Maybe (IntMap HsDocString)
1063-
)
1064-
)
1065-
)
1055+
-> IO (Either GHC.ErrorMessages (Name, Either GetDocsFailure (Maybe HsDocString, Maybe (IntMap HsDocString))))
10661056
getDocsNonInteractive hsc_env mod name =
10671057
do
10681058
let
@@ -1077,10 +1067,10 @@ getDocsNonInteractive hsc_env mod name =
10771067

10781068
-- | Non-interactive, batch version of 'GHC.Runtime.Eval.getDocs'.
10791069
getDocsBatch
1080-
:: HscEnv
1081-
-> Module -- ^ a moudle where the names are in scope
1082-
-> [Name]
1083-
-> IO(Either GHC.ErrorMessages (MS.Map Name (Either GetDocsFailure (Maybe HsDocString, Maybe (IntMap HsDocString)))))
1070+
:: HscEnv
1071+
-> Module -- ^ a moudle where the names are in scope
1072+
-> [Name]
1073+
-> IO (Either GHC.ErrorMessages (MS.Map Name (Either GetDocsFailure (Maybe HsDocString, Maybe (IntMap HsDocString)))))
10841074
-- ^ Return a 'Map' of 'Name's to 'Either' (no docs messages) (general doc body & arg docs)
10851075
getDocsBatch hsc_env mod names =
10861076
do

0 commit comments

Comments
 (0)