[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 11 commits: Bump array submodule

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Thu Mar 7 21:30:46 UTC 2024



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


Commits:
39ae4f9e by Ben Gamari at 2024-03-07T16:30:38-05:00
Bump array submodule

- - - - -
b8e012ed by Ben Gamari at 2024-03-07T16:30:38-05:00
Bump stm submodule

- - - - -
08ba9f3b by Ben Gamari at 2024-03-07T16:30:39-05:00
Introduce exception context

Here we introduce the `ExceptionContext` type and `ExceptionAnnotation`
class, allowing dynamically-typed user-defined annotations to be
attached to exceptions.

CLC Proposal: https://github.com/haskell/core-libraries-committee/issues/199
GHC Proposal: https://github.com/ghc-proposals/ghc-proposals/pull/330

- - - - -
f3d8702a by Ben Gamari at 2024-03-07T16:30:39-05:00
testsuite/interface-stability: Update documentation

- - - - -
440b9397 by Ben Gamari at 2024-03-07T16:30:39-05:00
ghc-internal: comment formatting

- - - - -
70f745bc by Ben Gamari at 2024-03-07T16:30:39-05:00
compiler: Default and warn ExceptionContext constraints

- - - - -
f9a53b3b by Ben Gamari at 2024-03-07T16:30:39-05:00
base: Introduce exception backtraces

Here we introduce the `Backtraces` type and associated machinery for
attaching these via `ExceptionContext`. These has a few compile-time
regressions (`T15703` and `T9872d`) due to the additional dependencies
in the exception machinery.

As well, there is a surprisingly large regression in the
`size_hello_artifact` test. This appears to be due to various `Integer` and
`Read` bits now being reachable at link-time. I believe it should be
possible to avoid this but I have accepted the change for now to get the
feature merged.

CLC Proposal: https://github.com/haskell/core-libraries-committee/issues/199
GHC Proposal: https://github.com/ghc-proposals/ghc-proposals/pull/330

Metric Increase:
    T15703
    T9872d
    size_hello_artifact

- - - - -
540386f3 by Ben Gamari at 2024-03-07T16:30:39-05:00
users guide: Release notes for exception backtrace work

- - - - -
901c69f7 by Ben Gamari at 2024-03-07T16:30:39-05:00
compiler: Don't show ExceptionContext of GhcExceptions

Most GhcExceptions are user-facing errors and therefore the
ExceptionContext has little value. Ideally we would enable
it in the DEBUG compiler but I am leaving this for future work.

- - - - -
28adbec7 by Sylvain Henry at 2024-03-07T16:30:39-05:00
Disable T9930fail for the JS target (cf #19174)

- - - - -
6e5db80f by Alan Zimmerman at 2024-03-07T16:30:40-05:00
Update showAstData to honour blanking of AnnParen

Also tweak rendering of SrcSpan to remove extra blank line.

- - - - -


30 changed files:

- compiler/GHC/Builtin/Names.hs
- compiler/GHC/Core/Predicate.hs
- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/Hs/Dump.hs
- compiler/GHC/Parser/Annotation.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Tc/Solver.hs
- compiler/GHC/Types/Error/Codes.hs
- compiler/GHC/Utils/Panic.hs
- docs/users_guide/9.8.1-notes.rst
- docs/users_guide/using-warnings.rst
- libraries/array
- libraries/base/base.cabal
- libraries/base/changelog.md
- libraries/base/src/Control/Exception.hs
- + libraries/base/src/Control/Exception/Annotation.hs
- + libraries/base/src/Control/Exception/Backtrace.hs
- + libraries/base/src/Control/Exception/Context.hs
- libraries/base/tests/IO/T21336/T21336a.stderr
- libraries/base/tests/IO/T21336/T21336b.stderr
- libraries/base/tests/IO/T4808.stderr
- libraries/base/tests/IO/mkdirExists.stderr
- libraries/base/tests/IO/openFile002.stderr
- libraries/base/tests/IO/openFile002.stderr-mingw32
- libraries/base/tests/IO/withBinaryFile001.stderr
- libraries/base/tests/IO/withBinaryFile002.stderr
- libraries/base/tests/IO/withFile001.stderr
- libraries/base/tests/IO/withFile002.stderr


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/bc6d3a0de722e1080b0e7aa916fe9ba1ea332e64...6e5db80f6bacd51fbabdaedbb22b0b91aebc4a33

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/bc6d3a0de722e1080b0e7aa916fe9ba1ea332e64...6e5db80f6bacd51fbabdaedbb22b0b91aebc4a33
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/20240307/5009a4fe/attachment.html>


More information about the ghc-commits mailing list