[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 16 commits: base: Improve String & IsString documentation

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Aug 3 08:36:31 UTC 2023



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


Commits:
c196e320 by Profpatsch at 2023-08-03T04:36:01-04:00
base: Improve String & IsString documentation

- - - - -
316bf82a by Ben Gamari at 2023-08-03T04:36:02-04:00
rts/win32: Ensure reliability of IO manager shutdown

When the Win32 threaded IO manager shuts down, `ioManagerDie` sends an
`IO_MANAGER_DIE` event to the IO manager thread using the
`io_manager_event` event object. Finally, it will closes the event object,
and invalidate `io_manager_event`.

Previously, `readIOManagerEvent` would see that `io_manager_event` is
invalid and return `0`, suggesting that everything is right with the
world. This meant that if `ioManagerDie` invalidated the handle before
the event manager was blocked on the event we would end up in a
situation where the event manager would never realize it was asked to
shut down.

Fix this by ensuring that `readIOManagerEvent` instead returns
`IO_MANAGER_DIE` when we detect that the event object has been
invalidated by `ioManagerDie`.

Fixes #23691.

- - - - -
8a7a525d by Ben Gamari at 2023-08-03T04:36:02-04:00
Bump deepseq submodule to 1.5.

And bump bounds

(cherry picked from commit 1228d3a4a08d30eaf0138a52d1be25b38339ef0b)

- - - - -
9a53b1fa by Ben Gamari at 2023-08-03T04:36:02-04:00
configure: Bump minimal boot GHC version to 9.4

(cherry picked from commit d3ffdaf9137705894d15ccc3feff569d64163e8e)

- - - - -
8855bb88 by Ben Gamari at 2023-08-03T04:36:02-04:00
template-haskell: Bump version to 2.21.0.0

Bumps exceptions submodule.

(cherry picked from commit bf57fc9aea1196f97f5adb72c8b56434ca4b87cb)

- - - - -
2e2cea65 by Ben Gamari at 2023-08-03T04:36:02-04:00
base: Bump version to 4.19

Updates all boot library submodules.

(cherry picked from commit 433d99a3c24a55b14ec09099395e9b9641430143)

- - - - -
a9f0f11e by Ben Gamari at 2023-08-03T04:36:03-04:00
testsuite: Normalise versions more aggressively

In backpack hashes can contain `+` characters.

(cherry picked from commit 024861af51aee807d800e01e122897166a65ea93)

- - - - -
6a2ff9dc by Ben Gamari at 2023-08-03T04:36:03-04:00
testsuite: Declare bkpcabal08 as fragile

Due to spurious output changes described in #23648.

(cherry picked from commit c046a2382420f2be2c4a657c56f8d95f914ea47b)

- - - - -
b11928fc by Ben Gamari at 2023-08-03T04:36:03-04:00
gitlab-ci: Only mark linker_unload_native as broken in static jobs

This test passes on dynamically-linked Alpine.

(cherry picked from commit f356a7e8ec8ec3d6b2b30fd175598b9b80065d87)

- - - - -
ae11191d by Ben Gamari at 2023-08-03T04:36:03-04:00
testsuite: Update base-exports

- - - - -
639a244b by Ben Gamari at 2023-08-03T04:36:03-04:00
testsuite/interface-stability: normalise versions

This eliminates spurious changes from version bumps.

- - - - -
aefdebad by Ben Gamari at 2023-08-03T04:36:03-04:00
linker/PEi386: Don't sign-extend symbol section number

Previously we incorrectly interpreted PE section numbers as signed
values. However, this isn't the case; rather, it's an unsigned 16-bit number
with a few special bit-patterns (0xffff and 0xfffe). This resulted in #22941
as the linker would conclude that the sections were invalid.

Fixing this required quite a bit of refactoring.

Closes #22941.

- - - - -
0878ac5f by Vladislav Zavialov at 2023-08-03T04:36:05-04:00
Fix (~) and (@) infix operators in TH splices (#23748)

8168b42a "Whitespace-sensitive bang patterns" allows GHC to accept
the following infix operators:

	a ~ b = ()
	a @ b = ()

But not if TH is used to generate those declarations:

	$([d| a ~ b = ()
	      a @ b = ()
	    |])

	-- Test.hs:5:2: error: [GHC-55017]
	--    Illegal variable name: ‘~’
	--    When splicing a TH declaration: (~_0) a_1 b_2 = GHC.Tuple.Prim.()

This is easily fixed by modifying `reservedOps` in GHC.Utils.Lexeme

- - - - -
d6299919 by Aaron Allen at 2023-08-03T04:36:12-04:00
[#23663] Show Flag Suggestions in GHCi

Makes suggestions when using `:set` in GHCi with a misspelled flag. This
mirrors how invalid flags are handled when passed to GHC directly. Logic
for producing flag suggestions was moved to GHC.Driver.Sesssion so it
can be shared.

resolves #23663

- - - - -
06fc7779 by Alan Zimmerman at 2023-08-03T04:36:13-04:00
EPA make getLocA a synonym for getHasLoc

This is basically a no-op change, but allows us to make future changes
that can rely on the HasLoc instances

And I presume this means we can use more precise functions based on
class resolution, so the Windows CI build reports

Metric Decrease:
    T12234
    T13035

- - - - -
ca4e88b0 by Luite Stegeman at 2023-08-03T04:36:22-04:00
JS: Fix missing local variable declarations

This fixes some missing local variable declarations that were
found by running the testsuite in strict mode.

Fixes #23775

- - - - -


30 changed files:

- .gitlab/generate-ci/gen_ci.hs
- .gitlab/jobs.yaml
- compiler/GHC/Driver/Session.hs
- compiler/GHC/JS/Make.hs
- compiler/GHC/Parser/Annotation.hs
- compiler/GHC/StgToJS/Expr.hs
- compiler/GHC/Utils/Lexeme.hs
- compiler/ghc.cabal.in
- configure.ac
- ghc/GHCi/UI.hs
- ghc/Main.hs
- ghc/ghc-bin.cabal.in
- libraries/Cabal
- libraries/array
- libraries/base/Data/String.hs
- libraries/base/GHC/Base.hs
- libraries/base/base.cabal
- libraries/containers
- libraries/deepseq
- libraries/directory
- libraries/exceptions
- libraries/ghc-boot-th/ghc-boot-th.cabal.in
- libraries/ghc-boot/ghc-boot.cabal.in
- libraries/ghc-compact/ghc-compact.cabal
- libraries/ghci/ghci.cabal.in
- libraries/haskeline
- libraries/hpc
- libraries/parsec
- libraries/process
- libraries/semaphore-compat


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/f165c43cd7b88b2ed48a801529b563ae1a06c6ac...ca4e88b02c5cc2d43afb566fe2174a453f666213

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/f165c43cd7b88b2ed48a801529b563ae1a06c6ac...ca4e88b02c5cc2d43afb566fe2174a453f666213
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/20230803/7f3fe0f2/attachment.html>


More information about the ghc-commits mailing list