summaryrefslogtreecommitdiff
path: root/compiler/GHC/Rename/Module.hs
diff options
context:
space:
mode:
authorAlan Zimmerman <alan.zimm@gmail.com>2021-05-12 21:57:48 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-19 23:35:59 -0400
commit10ae305e4ef05e1817ba92fb1d7a7079612c78a3 (patch)
treed798f2a14b873b35b25b7aa3429a440effeb2705 /compiler/GHC/Rename/Module.hs
parent327256178e8378c9d5cfd9b1990788d7eca2294f (diff)
downloadhaskell-10ae305e4ef05e1817ba92fb1d7a7079612c78a3.tar.gz
EPA: Remove duplicate annotations from HsDataDefn
They are repeated in the surrounding DataDecl and FamEqn. Updates haddock submodule Closes #19834
Diffstat (limited to 'compiler/GHC/Rename/Module.hs')
-rw-r--r--compiler/GHC/Rename/Module.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Rename/Module.hs b/compiler/GHC/Rename/Module.hs
index 2eb048f3f6..e91901ae50 100644
--- a/compiler/GHC/Rename/Module.hs
+++ b/compiler/GHC/Rename/Module.hs
@@ -1939,7 +1939,7 @@ rnDataDefn doc (HsDataDefn { dd_ND = new_or_data, dd_cType = cType
; let all_fvs = fvs1 `plusFV` fvs3 `plusFV`
con_fvs `plusFV` sig_fvs
- ; return ( HsDataDefn { dd_ext = noAnn
+ ; return ( HsDataDefn { dd_ext = noExtField
, dd_ND = new_or_data, dd_cType = cType
, dd_ctxt = context', dd_kindSig = m_sig'
, dd_cons = condecls'