diff options
author | Dr. ERDI Gergo <gergo@erdi.hu> | 2014-05-25 10:39:12 +0800 |
---|---|---|
committer | Dr. ERDI Gergo <gergo@erdi.hu> | 2014-05-25 14:24:16 +0800 |
commit | 57aa591362d7c8ba21285fccd6a958629a422091 (patch) | |
tree | c7cc3b01b75a5aacb3d7cd4fd9ffd47095036110 /src/Haddock/Convert.hs | |
parent | 4b1f57ed262b04385138ec7244d93689a762e1a2 (diff) |
Accomodate change in PatSyn representation
Diffstat (limited to 'src/Haddock/Convert.hs')
-rw-r--r-- | src/Haddock/Convert.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |