[Git][ghc/ghc][ghc-9.12] 25 commits: EPA: Remove AddEpann commit 7

Zubin (@wz1000) gitlab at gitlab.haskell.org
Mon Nov 18 10:56:50 UTC 2024



Zubin pushed to branch ghc-9.12 at Glasgow Haskell Compiler / GHC


Commits:
b1994328 by Alan Zimmerman at 2024-11-14T16:17:28+05:30
EPA: Remove AddEpann commit 7

EPA: Remove [AddEpAnn] from HYPHEN in Parser.y

The return value is never used, as it is part of the backpack
configuration parsing.

EPA: Remove last [AddEpAnn] usages

Remove residual usage in GHC. It is still used
- In haddock TTG extension point definitions (to be removed)
- Some check-exact residual, to be removed
- Comments around DisambECP in PostProcess

EPA: Clean up [AddEpAnn] from check-exact

There is one left, to be cleaned up when we remove AddEpann itself

EPA: Remove [AddEpAnn] from haddock

The TTG extension points need a value, it is not critical what that
value is, in most cases.

EPA: Remove AddEpAnn from HsRuleAnn

EPA: Remove AddEpAnn from HsCmdArrApp
(cherry picked from commit dbc77ce804c0f410f3f2894a158d0ee899ce64f5)

- - - - -
210b59c4 by Alan Zimmerman at 2024-11-14T16:17:37+05:30
EPA: Remove AddEpAnn Commit 8/final

EPA: Remove AddEpAnn from AnnList

EPA: Remove AddEpAnn from GrhsAnn

This is the last actual use

EPA: Remove NameAdornment from NameAnn

Also rework AnnContext to use EpToken, and AnnParen

EPA: Remove AddEpAnn.  Final removal

There are now none left, except for in a large note/comment in
PostProcess, describing the historical transition to the
disambiguation infrastructure

(cherry picked from commit 8a6691c3a947a21c7dcc9772d6cc396894c4756f)

- - - - -
c43414d2 by Alan Zimmerman at 2024-11-14T16:17:49+05:30
EPA: Remove AnnKeywordId.

This was used as part of AddEpAnn, and is no longer needed.

Also remove all the haddock comments about which of are attached to
the various parts of the AST.  This is now clearly captured in the
appropriate TTG extension points, and the `ExactPrint.hs` file.

(cherry picked from commit d5e7990ca9637ebee2293b22815fa0c393231baf)

- - - - -
43dd7718 by Alan Zimmerman at 2024-11-14T16:18:00+05:30
EPA: use explicit vertical bar token for ExplicitSum / SumPat

(cherry picked from commit f859d61c4832b16ae3b4dd14aad5cb41b0051de3)

- - - - -
aa59a1ef by Alan Zimmerman at 2024-11-14T16:21:51+05:30
EPA: Bring in last EpToken usages

For import declarations, NameAnnCommas and NPlusKPat.

And remove anchor, it is the same as epaLocationRealSrcSpan.

(cherry picked from commit 0bc94360908011167284ee4c283c343350cbba78)

- - - - -
788ae992 by Alan Zimmerman at 2024-11-14T19:03:38+05:30
EPA: Capture location of '_' for wild card type binder

And keep track of promotion status in HsExplicitTupleTy, so the
round-trip ppr test works for it.

Updates Haddock output too, using the PromotionFlag in
HsExplicitTupleTy.

Closes #25454

(cherry picked from commit 9ad9ac63abed33aa48d4df40142d2809bdfd1ff0)

- - - - -
344bb0f3 by Alan Zimmerman at 2024-11-14T19:04:35+05:30
EPA: Correctly capture leading semis in decl list

Closes #25467

(cherry picked from commit 0614abef967c2ee9fb83955f18460715160a557a)

- - - - -
8662d966 by ur4t at 2024-11-14T19:05:02+05:30
GHCi: fix improper location of ghci_history file

Fixes #24266

(cherry picked from commit 6f0a62db5dc79640433c61e83ea1427665304869)

- - - - -
014126ba by Rodrigo Mesquita at 2024-11-14T19:05:43+05:30
Deprecation for WarnCompatUnqualifiedImports

Fixes #25330

(cherry picked from commit 68e2da5a9ed2f0221b0b17a19032d909a1ea1037)

- - - - -
3b7dc559 by Andreas Klebinger at 2024-11-14T19:06:05+05:30
Compile T25062 simd tests even if we can't run them.

Helps avoid them being utterly broken.

Fixes #25341

(cherry picked from commit 1c21e7d4358162342b707f20ae2765ad02affdf3)

- - - - -
31a75a91 by Ben Gamari at 2024-11-14T19:06:21+05:30
rts/Disassembler: Fix encoding of BRK_FUN instruction

The offset of the CC field was not updated after the encoding change in
b85b11994e0130ff2401dd4bbdf52330e0bcf776. Fix this.

Fixes #25374.

(cherry picked from commit 721ac00d63216e5e6512baba09b6ebb3cc456ebf)

- - - - -
eccd1ef0 by Ben Gamari at 2024-11-14T19:06:44+05:30
configure: Check version number validity

Here we verify the previously informal invariant that stable release
version numbers must have three components, preventing costly failed
releases.

Specifically, the check fails in the following scenarios:

 * `version=9.13` while `RELEASE=YES` since this would imply a
   release made from an unstable branch
 * `version=9.13.0` since unstable versions should only have two
   components
 * `version=9.12` since this has the wrong number of version components
   for a stable branch

Fixes #25390.

(cherry picked from commit c02add17f04c0521f0cb97b4c8511b47f4b639d7)

- - - - -
9d431ca7 by Teo Camarasu at 2024-11-14T19:07:03+05:30
docs: link to #14474 in the template-haskell docs

(cherry picked from commit 747fd3224f9832a97367aaf7e6085a9b0a26fba9)

- - - - -
29923e5f by Peter Trommler at 2024-11-14T19:07:33+05:30
PPC NCG: Implement fmin and fmax

(cherry picked from commit fdd9f62ad3deb64dabef438032a1e8c89c98cd99)

- - - - -
c3fb73d2 by Sebastian Graf at 2024-11-14T19:07:47+05:30
DmdAnal: Make `prompt#` lazy (#25439)

This applies the same treatment to `prompt#` as for `catch#`.
See `Note [Strictness for mask/unmask/catch/prompt]`.

Fixes #25439.

(cherry picked from commit 00d58ae18a7ce8db6b2d57261a08ba8c1c2549b5)

- - - - -
53d2a948 by Zubin Duggal at 2024-11-14T19:08:09+05:30
release: copy zip files into the correct directory

Fixes #25446

(cherry picked from commit 346e4cd1903b2cbcc9bb7c39652666c513eb2a59)

- - - - -
c29445eb by Zubin Duggal at 2024-11-14T19:08:16+05:30
release: Sign .gz bindists too

Fixes #25447

(cherry picked from commit bbdbe2254df1bfc9157cfb409afc93f8157712cd)

- - - - -
f5b5d1dc by Zubin Duggal at 2024-11-14T19:11:16+05:30
Bump exceptions submodule to 0.10.9

- - - - -
ba786681 by Zubin Duggal at 2024-11-14T19:56:41+05:30
Bump file-io submodule to 0.1.4

- - - - -
3a7ffdbb by Zubin Duggal at 2024-11-14T19:56:41+05:30
bump os-string submodule to 2.0.6

- - - - -
53b46fd4 by Zubin Duggal at 2024-11-14T19:56:41+05:30
bump transformers submodule to 0.6.1.2

- - - - -
27dc2664 by Zubin Duggal at 2024-11-14T19:56:41+05:30
Bump directory submodule to v1.3.9.0

- - - - -
80df8808 by Zubin Duggal at 2024-11-14T19:56:41+05:30
Bump Win32 submodule to v2.14.1.0

- - - - -
29bfae2c by Zubin Duggal at 2024-11-14T19:56:41+05:30
Bump filepath submodule to 1.5.3.0

- - - - -
97b0dff2 by Zubin Duggal at 2024-11-14T23:00:10+05:30
Bump file-io submodule to avoid usage of QuasiQuotes

- - - - -


25 changed files:

- .gitlab/rel_eng/recompress-all
- .gitlab/rel_eng/upload.sh
- compiler/GHC.hs
- compiler/GHC/Builtin/primops.txt.pp
- compiler/GHC/CmmToAsm/PPC/CodeGen.hs
- compiler/GHC/CmmToAsm/PPC/Instr.hs
- compiler/GHC/CmmToAsm/PPC/Ppr.hs
- compiler/GHC/Core/Class.hs
- compiler/GHC/Core/DataCon.hs
- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/Hs.hs
- compiler/GHC/Hs/Binds.hs
- compiler/GHC/Hs/Decls.hs
- compiler/GHC/Hs/Dump.hs
- compiler/GHC/Hs/Expr.hs
- compiler/GHC/Hs/ImpExp.hs
- compiler/GHC/Hs/Pat.hs
- compiler/GHC/Hs/Type.hs
- compiler/GHC/Hs/Utils.hs
- compiler/GHC/HsToCore/Quote.hs
- compiler/GHC/Iface/Ext/Ast.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/Annotation.hs
- compiler/GHC/Parser/Lexer.x


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/8de7406f00c8db25fe93a1e612b2ac258aed4d3d...97b0dff223a6c4cc003adec448104c277f214645

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/8de7406f00c8db25fe93a1e612b2ac258aed4d3d...97b0dff223a6c4cc003adec448104c277f214645
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/20241118/02c16791/attachment-0001.html>


More information about the ghc-commits mailing list