diff options
author | David Waern <david.waern@gmail.com> | 2011-11-06 00:01:47 +0100 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2011-11-06 00:01:47 +0100 |
commit | 2d0c63d4155fde1b5d8f51b66aa2393f265eaa7b (patch) | |
tree | 074f93a78bd3059e80cbfb1f1cd29aa5b960d340 /src/Haddock/Interface/ExtractFnArgDocs.hs | |
parent | 0a8d2696f88e0308fd689475ce2896b6ba014694 (diff) | |
parent | 2deba11b49ed5ca29e947e875349f870310d3746 (diff) |
Merge branch 'master' of http://darcs.haskell.org/haddock
Diffstat (limited to 'src/Haddock/Interface/ExtractFnArgDocs.hs')
-rw-r--r-- | src/Haddock/Interface/ExtractFnArgDocs.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Interface/ExtractFnArgDocs.hs b/src/Haddock/Interface/ExtractFnArgDocs.hs index 8889c3ab..a9f8a807 100644 --- a/src/Haddock/Interface/ExtractFnArgDocs.hs +++ b/src/Haddock/Interface/ExtractFnArgDocs.hs @@ -24,7 +24,7 @@ import GHC getDeclFnArgDocs :: HsDecl Name -> Map Int HsDocString getDeclFnArgDocs (SigD (TypeSig _ ty)) = getTypeFnArgDocs ty -getDeclFnArgDocs (ForD (ForeignImport _ ty _)) = getTypeFnArgDocs ty +getDeclFnArgDocs (ForD (ForeignImport _ ty _ _)) = getTypeFnArgDocs ty getDeclFnArgDocs (TyClD (TySynonym {tcdSynRhs = ty})) = getTypeFnArgDocs ty getDeclFnArgDocs _ = Map.empty |