diff options
Diffstat (limited to 'haddock-api/src/Haddock/Interface/Create.hs')
| -rw-r--r-- | haddock-api/src/Haddock/Interface/Create.hs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/haddock-api/src/Haddock/Interface/Create.hs b/haddock-api/src/Haddock/Interface/Create.hs index 047960c6..00c119fa 100644 --- a/haddock-api/src/Haddock/Interface/Create.hs +++ b/haddock-api/src/Haddock/Interface/Create.hs @@ -620,8 +620,8 @@ hiDecl dflags t = do        return Nothing      Just x -> case tyThingToLHsDecl x of        Left m -> liftErrMsg (tell [bugWarn m]) >> return Nothing -      Right (m, t) -> liftErrMsg (tell $ map bugWarn m) -                      >> return (Just $ noLoc t) +      Right (m, t') -> liftErrMsg (tell $ map bugWarn m) +                      >> return (Just $ noLoc t')      where        warnLine x = O.text "haddock-bug:" O.<+> O.text x O.<>                     O.comma O.<+> O.quotes (O.ppr t) O.<+> | 
