aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockRename.hs
diff options
context:
space:
mode:
authordavve <davve@dtek.chalmers.se>2006-08-19 20:07:55 +0000
committerdavve <davve@dtek.chalmers.se>2006-08-19 20:07:55 +0000
commita7d3efef2e17273fb28a3d711d00843c1c875a17 (patch)
treec441da71c6e5cf4fb12e0303f204d3e7759e3494 /src/HaddockRename.hs
parent7ef7e7beb6e79166dec2f31cfbd16f7170066a6b (diff)
Adapt to latest GHC
Diffstat (limited to 'src/HaddockRename.hs')
-rw-r--r--src/HaddockRename.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HaddockRename.hs b/src/HaddockRename.hs
index 8f7698ac..65af08e8 100644
--- a/src/HaddockRename.hs
+++ b/src/HaddockRename.hs
@@ -294,12 +294,12 @@ renameSig sig = case sig of
return (FixitySig lname' x)
-}
-renameForD (ForeignImport lname ltype x y) = do
+renameForD (ForeignImport lname ltype x) = do
ltype' <- renameLType ltype
- return (ForeignImport (keepL lname) ltype' x y)
-renameForD (ForeignExport lname ltype x y) = do
+ return (ForeignImport (keepL lname) ltype' x)
+renameForD (ForeignExport lname ltype x) = do
ltype' <- renameLType ltype
- return (ForeignExport (keepL lname) ltype' x y)
+ return (ForeignExport (keepL lname) ltype' x)
renameExportItem :: ExportItem2 Name -> RnM (ExportItem2 DocName)
renameExportItem item = case item of