diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-01-07 16:43:18 +0100 |
---|---|---|
committer | Sylvain Henry <sylvain@haskus.fr> | 2021-02-08 11:36:38 +0100 |
commit | 05e2666af785f2b33395673839a5edf549901d36 (patch) | |
tree | 66337086a5d3f765877fa7e2341efb58803c575e /haddock-api/src/Haddock/Interface | |
parent | 010f0320dff64e3f86091ba4691bc69ce6999647 (diff) |
Update for Logger
Diffstat (limited to 'haddock-api/src/Haddock/Interface')
-rw-r--r-- | haddock-api/src/Haddock/Interface/AttachInstances.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Interface/AttachInstances.hs b/haddock-api/src/Haddock/Interface/AttachInstances.hs index 6ef0ed19..317258eb 100644 --- a/haddock-api/src/Haddock/Interface/AttachInstances.hs +++ b/haddock-api/src/Haddock/Interface/AttachInstances.hs @@ -127,9 +127,8 @@ attachToExportItem index expInfo getInstDoc getFixity export = cleanFamInsts = [ (fi, n, L l r, m) | (Right fi, n, L l (Right r), m) <- fam_insts ] famInstErrs = [ errm | (Left errm, _, _, _) <- fam_insts ] in do - dfs <- getDynFlags let mkBug = (text "haddock-bug:" <+>) . text - liftIO $ putMsg dfs (sep $ map mkBug famInstErrs) + putMsgM (sep $ map mkBug famInstErrs) return $ cls_insts ++ cleanFamInsts return $ e { expItemInstances = insts } e -> return e |