diff options
Diffstat (limited to 'haddock-api/src/Haddock')
| -rw-r--r-- | haddock-api/src/Haddock/Convert.hs | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/haddock-api/src/Haddock/Convert.hs b/haddock-api/src/Haddock/Convert.hs index 0c48d773..42175254 100644 --- a/haddock-api/src/Haddock/Convert.hs +++ b/haddock-api/src/Haddock/Convert.hs @@ -127,7 +127,7 @@ tyThingToLHsDecl prr t = case t of           , tcdATs = atFamDecls           , tcdATDefs = catMaybes atDefFamDecls           , tcdDocs = [] --we don't have any docs at this point -         , tcdCExt = placeHolderNamesTc } +         , tcdCExt = emptyNameSet }      | otherwise      -> synifyTyCon prr Nothing tc >>= allOK . TyClD noExtField @@ -206,7 +206,7 @@ synifyTyCon prr _coax tc                                                 -- we have their kind accurately:                                        , dd_cons = []  -- No constructors                                        , dd_derivs = noLoc [] } -           , tcdDExt = DataDeclRn False placeHolderNamesTc } +           , tcdDExt = DataDeclRn False emptyNameSet }    where      -- tyConTyVars doesn't work on fun/prim, but we can make them up:      mk_hs_tv realKind fakeTyVar @@ -299,7 +299,7 @@ synifyTyCon _prr coax tc          DataDecl { tcdLName = name, tcdTyVars = tyvars                   , tcdFixity = synifyFixity name                   , tcdDataDefn = defn -                 , tcdDExt = DataDeclRn False placeHolderNamesTc } +                 , tcdDExt = DataDeclRn False emptyNameSet }    dataConErrs -> Left $ unlines dataConErrs  -- | In this module, every TyCon being considered has come from an interface  | 
