Skip to content

Commit

Permalink
ghcide: Compile: m: upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha committed Feb 6, 2022
1 parent 68ebfdf commit 5451a2a
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions ghcide/src/Development/IDE/Core/Compile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1048,21 +1048,7 @@ getDocsNonInteractive' name =
else Right (MS.lookup name dmap, MS.lookup name amap')

-- | Non-interactive modification of 'GHC.Runtime.Eval.getDocs'.
getDocsNonInteractive
:: HscEnv
-> Module
-> Name
-> IO
( Either
GHC.ErrorMessages
( Name
, Either
GetDocsFailure
( Maybe HsDocString
, Maybe (IntMap HsDocString)
)
)
)
getDocsNonInteractive :: HscEnv -> Module -> Name -> IO (Either GHC.ErrorMessages (Name, Either GetDocsFailure (Maybe HsDocString, Maybe (IntMap HsDocString))))
getDocsNonInteractive hsc_env mod name =
do
let
Expand Down

0 comments on commit 5451a2a

Please sign in to comment.