aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2020-02-03 22:40:25 +0000
committerRichard Eisenberg <rae@richarde.dev>2020-02-04 09:05:43 +0000
commite7a650a94dbc118c423e684b27203a52baf34ff5 (patch)
tree372fac9f521f03ff9a09862d12c199a59a063c04 /haddock-api/src/Haddock
parentf3e3c4a766805a1bbea75bf23b84fdaaf053c226 (diff)
Echo GHC's removal of PlaceHolder module
This goes with GHC's !2083.
Diffstat (limited to 'haddock-api/src/Haddock')
-rw-r--r--haddock-api/src/Haddock/Convert.hs6
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