[Git][ghc/ghc][wip/exception-context] 15 commits: JS: implement openat(AT_FDCWD...) (#23697)
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Thu Aug 17 19:31:13 UTC 2023
Ben Gamari pushed to branch wip/exception-context at Glasgow Haskell Compiler / GHC
Commits:
e2b38115 by Sylvain Henry at 2023-08-17T07:54:06-04:00
JS: implement openat(AT_FDCWD...) (#23697)
Use `openSync` to implement `openat(AT_FDCWD...)`.
- - - - -
a975c663 by sheaf at 2023-08-17T07:54:47-04:00
Use unsatisfiable for missing methods w/ defaults
When a class instance has an Unsatisfiable constraint in its context
and the user has not explicitly provided an implementation of a method,
we now always provide a RHS of the form `unsatisfiable @msg`, even
if the method has a default definition available. This ensures that,
when deferring type errors, users get the appropriate error message
instead of a possible runtime loop, if class default methods were
defined recursively.
Fixes #23816
- - - - -
1b4186a4 by Ben Gamari at 2023-08-17T12:59:58-04:00
compiler/tc: Small optimisation of evCallStack
Don't lookupIds unless we actually need them.
- - - - -
12d03ec2 by Ben Gamari at 2023-08-17T12:59:58-04:00
compiler/tc: Use toException instead of SomeException
- - - - -
4d5d8bcb by Ben Gamari at 2023-08-17T12:59:58-04:00
base: Factor out errorBelch
This was useful when debugging
- - - - -
00c3c387 by Ben Gamari at 2023-08-17T12:59:58-04:00
base: Clean up imports of GHC.ExecutionStack
- - - - -
c6afe961 by Ben Gamari at 2023-08-17T12:59:58-04:00
base: Clean up imports of GHC.Stack.CloneStack
- - - - -
8e72cfbb by Ben Gamari at 2023-08-17T13:54:49-04:00
base: Move PrimMVar to GHC.MVar
- - - - -
09d86d91 by Ben Gamari at 2023-08-17T14:18:07-04:00
base: Move prettyCallStack to GHC.Stack
- - - - -
41db5964 by Ben Gamari at 2023-08-17T14:18:10-04:00
base: Use displayException in top-level exception handler
Happily this also allows us to eliminate a special case for Deadlock
exceptions.
- - - - -
598ed68d by Ben Gamari at 2023-08-17T14:43:40-04:00
base: Introduce exception context
- - - - -
aa706535 by Ben Gamari at 2023-08-17T14:43:55-04:00
compiler: Default and warn ExceptionContext constraints
- - - - -
f44b33ec by Ben Gamari at 2023-08-17T14:43:56-04:00
base: Don't collect backtraces in onException
- - - - -
b3308f05 by Ben Gamari at 2023-08-17T14:43:56-04:00
rts: Don't dump IPE entries on startup with DEBUG rts
- - - - -
a8f19624 by Ben Gamari at 2023-08-17T15:30:46-04:00
Update testsuite output
- - - - -
30 changed files:
- compiler/GHC/Builtin/Names.hs
- compiler/GHC/Core/Predicate.hs
- compiler/GHC/Tc/Errors.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Tc/Gen/Splice.hs
- compiler/GHC/Tc/Solver.hs
- compiler/GHC/Tc/TyCl/Instance.hs
- compiler/GHC/Tc/Types/EvTerm.hs
- compiler/GHC/Types/Error/Codes.hs
- docs/users_guide/9.8.1-notes.rst
- libraries/base/GHC/Conc/Sync.hs
- libraries/base/GHC/Exception.hs
- + libraries/base/GHC/Exception/Backtrace.hs
- + libraries/base/GHC/Exception/Backtrace.hs-boot
- + libraries/base/GHC/Exception/Context.hs
- + libraries/base/GHC/Exception/Context.hs-boot
- libraries/base/GHC/Exception/Type.hs
- libraries/base/GHC/ExecutionStack.hs
- libraries/base/GHC/ExecutionStack/Internal.hsc
- libraries/base/GHC/IO.hs
- libraries/base/GHC/IO/Exception.hs
- libraries/base/GHC/MVar.hs
- libraries/base/GHC/Stack.hs
- + libraries/base/GHC/Stack.hs-boot
- libraries/base/GHC/Stack/CCS.hs-boot
- libraries/base/GHC/Stack/CloneStack.hs
- libraries/base/GHC/TopHandler.hs
- libraries/base/base.cabal
- libraries/base/changelog.md
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/306dfc74c99d46c5286c2ea24ea560fe0066a046...a8f19624a8714bb8929cde1e9001a046b759e6eb
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/306dfc74c99d46c5286c2ea24ea560fe0066a046...a8f19624a8714bb8929cde1e9001a046b759e6eb
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/20230817/a720af07/attachment.html>
More information about the ghc-commits
mailing list