diff options
author | simonmar <unknown> | 2002-04-29 15:28:12 +0000 |
---|---|---|
committer | simonmar <unknown> | 2002-04-29 15:28:12 +0000 |
commit | b7211e0436828a7e9ffe00a11850a4f25f7e9b26 (patch) | |
tree | 426354b2a1eb0113f01775c859eb9dcc275eecd8 /src | |
parent | 2ae37179f6c4eb1a09dc644322b51b868e9fb2a9 (diff) |
[haddock @ 2002-04-29 15:28:12 by simonmar]
bugfix for declBinders on a NewTypeDecl
Diffstat (limited to 'src')
-rw-r--r-- | src/HaddockUtil.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HaddockUtil.hs b/src/HaddockUtil.hs index ae246553..be4b2d88 100644 --- a/src/HaddockUtil.hs +++ b/src/HaddockUtil.hs @@ -52,7 +52,7 @@ declBinders d = case d of HsTypeDecl _ n _ _ -> [n] HsDataDecl _ _ n _ cons _ -> n : concat (map conDeclBinders cons) - HsNewTypeDecl _ _ n _ _ _ -> [n] + HsNewTypeDecl _ _ n _ con _ -> n : conDeclBinders con HsClassDecl _ qt _ decls -> exQtNm qt : collectNames decls HsTypeSig _ ns _ -> ns HsForeignImport _ _ _ _ n _ -> [n] |