aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Convert.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-02-22 02:18:04 +0000
committerIan Lynagh <igloo@earth.li>2012-02-22 02:26:12 +0000
commit53a15353b9521a049cb9bbc033acd3654a52033f (patch)
treeac737716f9bd9a7c8e9cf720abccb9ea98757847 /src/Haddock/Convert.hs
parent910e35147c999128db5b05585d0f76b02ae2b028 (diff)
Follow changes in GHC
Diffstat (limited to 'src/Haddock/Convert.hs')
-rw-r--r--src/Haddock/Convert.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Haddock/Convert.hs b/src/Haddock/Convert.hs
index be5752d4..dbd8390c 100644
--- a/src/Haddock/Convert.hs
+++ b/src/Haddock/Convert.hs
@@ -86,7 +86,7 @@ synifyAxiom (CoAxiom { co_ax_tvs = tvs, co_ax_lhs = lhs, co_ax_rhs = rhs })
tyvars = synifyTyVars tvs
typats = map (synifyType WithinType) args
hs_rhs_ty = synifyType WithinType rhs
- in TySynonym name Nothing tyvars (Just typats) hs_rhs_ty
+ in TySynonym name tyvars (Just typats) hs_rhs_ty
| otherwise
= error "synifyAxiom"
@@ -164,7 +164,7 @@ synifyTyCon tc
alg_deriv = Nothing
syn_type = synifyType WithinType (synTyConType tc)
in if isSynTyCon tc
- then TySynonym name Nothing tyvars typats syn_type
+ then TySynonym name tyvars typats syn_type
else TyData alg_nd alg_ctx name Nothing tyvars typats (fmap synifyKind alg_kindSig) alg_cons alg_deriv