[Git][ghc/ghc][wip/az/epa-remove-epannnotused] EPA: Remove EpAnnNotUsed

Alan Zimmerman (@alanz) gitlab at gitlab.haskell.org
Sat Nov 25 13:23:40 UTC 2023



Alan Zimmerman pushed to branch wip/az/epa-remove-epannnotused at Glasgow Haskell Compiler / GHC


Commits:
72fb7ccd by Alan Zimmerman at 2023-11-25T13:23:20+00:00
EPA: Remove EpAnnNotUsed

We no longer need the EpAnnNotUsed constructor for EpAnn, as we can
represent an unused annotation with an anchor having a EpaDelta of
zero, and empty comments and annotations.

This simplifies code handling annotations considerably.

Updates haddock submodule

- - - - -


18 changed files:

- compiler/GHC/Hs.hs
- compiler/GHC/Hs/Binds.hs
- compiler/GHC/Hs/Decls.hs
- compiler/GHC/Hs/Expr.hs
- compiler/GHC/Hs/ImpExp.hs
- compiler/GHC/Hs/Pat.hs
- compiler/GHC/Hs/Utils.hs
- compiler/GHC/HsToCore/Arrows.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/Annotation.hs
- compiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Tc/Deriv/Generate.hs
- testsuite/tests/ghc-api/exactprint/T22919.stderr
- testsuite/tests/ghc-api/exactprint/Test20239.stderr
- testsuite/tests/ghc-api/exactprint/ZeroWidthSemi.stderr
- testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr
- testsuite/tests/haddock/should_compile_flag_haddock/T17544_kw.stderr
- testsuite/tests/module/mod185.stderr


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/72fb7ccd81984f0dd4a2e6099e49e790bfc60fbf

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/72fb7ccd81984f0dd4a2e6099e49e790bfc60fbf
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20231125/38b01699/attachment.html>


More information about the ghc-commits mailing list