[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 9 commits: Comments only in FloatIn

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Mon Dec 11 06:19:34 UTC 2023



Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
03ca551d by Simon Peyton Jones at 2023-12-08T15:54:50-05:00
Comments only in FloatIn

Relevant to #3458

- - - - -
50c78779 by Simon Peyton Jones at 2023-12-08T15:54:50-05:00
Comments only in SpecConstr

- - - - -
9431e195 by Simon Peyton Jones at 2023-12-08T15:54:50-05:00
Add test for #22238

- - - - -
088c88a1 by Vladislav Zavialov at 2023-12-11T01:19:28-05:00
Make forall a keyword (#23719)

Before this change, GHC used to accept `forall` as a term-level
identifier:

	-- from constraints-0.13
	forall :: forall p. (forall a. Dict (p a)) -> Dict (Forall p)
	forall d = ...

Now it is a parse error.

The -Wforall-identifier warning has served its purpose and is now
a deprecated no-op.

- - - - -
d4d49b49 by Zubin Duggal at 2023-12-11T01:19:28-05:00
driver: Ensure we actually clear the interactive context before reloading

Previously we called discardIC, but immediately after set the session
back to an old HscEnv that still contained the IC

Partially addresses #24107
Fixes #23405

- - - - -
fb6e44fa by Zubin Duggal at 2023-12-11T01:19:28-05:00
driver: Ensure we force the lookup of old build artifacts before returning the build plan

This prevents us from retaining all previous build artifacts in memory until a
recompile finishes, instead only retaining the exact artifacts we need.

Fixes #24118

- - - - -
34988a10 by Zubin Duggal at 2023-12-11T01:19:28-05:00
testsuite: add test for #24118 and #24107

MultiLayerModulesDefsGhci was not able to catch the leak because it uses
:l which discards the previous environment.

Using :r catches both of these leaks

- - - - -
22070fc0 by Zubin Duggal at 2023-12-11T01:19:28-05:00
compiler: Add some strictness annotations to ImportSpec and related constructors
This prevents us from retaining entire HscEnvs.

Force these ImportSpecs when forcing the GlobalRdrEltX

Adds an NFData instance for Bag

Fixes #24107

- - - - -
33e5388e by Zubin Duggal at 2023-12-11T01:19:28-05:00
compiler: Force IfGlobalRdrEnv in NFData instance.

- - - - -


30 changed files:

- compiler/GHC/Core/Opt/FloatIn.hs
- compiler/GHC/Core/Opt/SpecConstr.hs
- compiler/GHC/Data/Bag.hs
- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Make.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/Parser.y
- compiler/GHC/Parser/PostProcess.hs
- compiler/GHC/Rename/Bind.hs
- compiler/GHC/Rename/HsType.hs
- compiler/GHC/Rename/Module.hs
- compiler/GHC/Rename/Pat.hs
- compiler/GHC/Rename/Utils.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Types/Error/Codes.hs
- compiler/GHC/Types/Hint.hs
- compiler/GHC/Types/Hint/Ppr.hs
- compiler/GHC/Types/Name/Reader.hs
- compiler/GHC/Unit/Module/ModIface.hs
- compiler/GHC/Utils/Lexeme.hs
- docs/users_guide/9.10.1-notes.rst
- docs/users_guide/bugs.rst
- docs/users_guide/using-warnings.rst
- + testsuite/tests/ghci/T23405/T23405.hs
- + testsuite/tests/ghci/T23405/T23405.script
- + testsuite/tests/ghci/T23405/all.T
- testsuite/tests/rename/should_compile/T20609.hs → testsuite/tests/parser/should_fail/T20609.hs
- + testsuite/tests/parser/should_fail/T20609.stderr
- testsuite/tests/rename/should_compile/T20609a.hs → testsuite/tests/parser/should_fail/T20609a.hs


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/b4c8371e581c3c4dd1507ab0631d665efa60828b...33e5388ec5109ebf46c7e83e31d8ec269006967c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/b4c8371e581c3c4dd1507ab0631d665efa60828b...33e5388ec5109ebf46c7e83e31d8ec269006967c
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/20231211/e9f9c3f2/attachment.html>


More information about the ghc-commits mailing list