aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockRename.hs
diff options
context:
space:
mode:
authorsimonmar <unknown>2002-04-26 11:18:57 +0000
committersimonmar <unknown>2002-04-26 11:18:57 +0000
commit31c53d79c85274012725480b8d78d341f3affe06 (patch)
tree6c005e5816372d8a6455713debe6b3f0290ecf8c /src/HaddockRename.hs
parentbbd5fbab2ffebe759f20765a4dbd519b2d1381d8 (diff)
[haddock @ 2002-04-26 11:18:56 by simonmar]
- support for fundeps (partially contributed by Brett Letner - thanks Brett). - make it build with GHC 4.08.2
Diffstat (limited to 'src/HaddockRename.hs')
-rw-r--r--src/HaddockRename.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HaddockRename.hs b/src/HaddockRename.hs
index 9dfa7147..ce954a52 100644
--- a/src/HaddockRename.hs
+++ b/src/HaddockRename.hs
@@ -85,10 +85,10 @@ renameDecl decl
HsNewTypeDecl loc ctx t args con drv -> do
con <- renameConDecl con
return (HsNewTypeDecl loc ctx t args con drv)
- HsClassDecl loc qt decls -> do
+ HsClassDecl loc qt fds decls -> do
qt <- renameClassHead qt
decls <- mapM renameDecl decls
- return (HsClassDecl loc qt decls)
+ return (HsClassDecl loc qt fds decls)
HsTypeSig loc fs qt -> do
qt <- renameType qt
return (HsTypeSig loc fs qt)