diff options
author | Ian Lynagh <igloo@earth.li> | 2012-02-22 02:18:04 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-02-22 02:26:12 +0000 |
commit | 53a15353b9521a049cb9bbc033acd3654a52033f (patch) | |
tree | ac737716f9bd9a7c8e9cf720abccb9ea98757847 /src/Haddock/Interface/Rename.hs | |
parent | 910e35147c999128db5b05585d0f76b02ae2b028 (diff) |
Follow changes in GHC
Diffstat (limited to 'src/Haddock/Interface/Rename.hs')
-rw-r--r-- | src/Haddock/Interface/Rename.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Interface/Rename.hs b/src/Haddock/Interface/Rename.hs index 4c840807..670fa9cf 100644 --- a/src/Haddock/Interface/Rename.hs +++ b/src/Haddock/Interface/Rename.hs @@ -330,12 +330,12 @@ renameTyClD d = case d of -- I don't think we need the derivings, so we return Nothing return (TyData x lcontext' lname' cType ltyvars' typats' k' cons' Nothing) - TySynonym lname cType ltyvars typats ltype -> do + TySynonym lname ltyvars typats ltype -> do lname' <- renameL lname ltyvars' <- mapM renameLTyVarBndr ltyvars ltype' <- renameLType ltype typats' <- mapM (mapM renameLType) typats - return (TySynonym lname' cType ltyvars' typats' ltype') + return (TySynonym lname' ltyvars' typats' ltype') ClassDecl lcontext lname ltyvars lfundeps lsigs _ ats at_defs _ -> do lcontext' <- renameLContext lcontext |