From 57aa591362d7c8ba21285fccd6a958629a422091 Mon Sep 17 00:00:00 2001 From: "Dr. ERDI Gergo" Date: Sun, 25 May 2014 10:39:12 +0800 Subject: Accomodate change in PatSyn representation --- src/Haddock/Convert.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Haddock') diff --git a/src/Haddock/Convert.hs b/src/Haddock/Convert.hs index 1bf02e3c..f7f3e2bb 100644 --- a/src/Haddock/Convert.hs +++ b/src/Haddock/Convert.hs @@ -94,7 +94,7 @@ tyThingToLHsDecl t = noLoc $ case t of (synifyType ImplicitizeForAll (dataConUserType dc))) AConLike (PatSynCon ps) -> - let (_, _, (req_theta, prov_theta)) = patSynSig ps + let (_, _, req_theta, prov_theta) = patSynSig ps in SigD $ PatSynSig (synifyName ps) (fmap (synifyType WithinType) (patSynTyDetails ps)) (synifyType WithinType (patSynType ps)) -- cgit v1.2.3