aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-05-29 03:15:29 +0200
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-05-29 03:15:29 +0200
commite110e6e70e40eed06c06676fd2e62578da01d295 (patch)
tree7731462d596402f90dc578602db41c4b53ddfe7c /src
parent57aa591362d7c8ba21285fccd6a958629a422091 (diff)
Revert "Accomodate change in PatSyn representation"
This reverts commit 57aa591362d7c8ba21285fccd6a958629a422091. I am reverting this because I pushed it to master when it was meant to stay on a wip-branch. Sorry Gergo and everyone who had trouble due to this.
Diffstat (limited to 'src')
-rw-r--r--src/Haddock/Convert.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Convert.hs b/src/Haddock/Convert.hs
index f7f3e2bb..1bf02e3c 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))