aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Interface/ExtractFnArgDocs.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-10-01 01:34:06 +0100
committerIan Lynagh <igloo@earth.li>2011-10-01 01:34:06 +0100
commit8b2ee333020aeb9e639cd1772e1dca3b4b4ef3d2 (patch)
tree8c5eabb23c94b9204bb4691a015af4480b79b4d8 /src/Haddock/Interface/ExtractFnArgDocs.hs
parent813a8f79109cf854f9515ec55289d4a5efc1388d (diff)
Follow changes to ForeignImport/ForeignExport in GHC
Diffstat (limited to 'src/Haddock/Interface/ExtractFnArgDocs.hs')
-rw-r--r--src/Haddock/Interface/ExtractFnArgDocs.hs2
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