From 266a20afd2d27f28bbb62839ebc3f70bd83bfcce Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones Date: Mon, 14 Jan 2013 17:10:27 +0000 Subject: Track change to HsBang type --- src/Haddock/Convert.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Haddock') diff --git a/src/Haddock/Convert.hs b/src/Haddock/Convert.hs index b4cf86f0..71c68bf0 100644 --- a/src/Haddock/Convert.hs +++ b/src/Haddock/Convert.hs @@ -216,9 +216,9 @@ synifyDataCon use_gadt_syntax dc = noLoc $ linear_tys = zipWith (\ty bang -> let tySyn = synifyType WithinType ty src_bang = case bang of - HsUnpack {} -> HsBang True - HsStrict -> HsBang False - _ -> bang + HsUnpack {} -> HsUserBang (Just True) True + HsStrict -> HsUserBang (Just False) True + _ -> bang in case src_bang of HsNoBang -> tySyn _ -> noLoc $ HsBangTy bang tySyn -- cgit v1.2.3