[Git][ghc/ghc][wip/romes/26058] base: Export displayExceptionWithInfo

Rodrigo Mesquita pushed to branch wip/romes/26058 at Glasgow Haskell Compiler / GHC Commits: 7d6de41d by Rodrigo Mesquita at 2025-06-17T09:27:40+01:00 base: Export displayExceptionWithInfo This function should be exposed from base; follows from CLC#285 Fixes #26058 - - - - - 2 changed files: - libraries/base/src/Control/Exception.hs - libraries/ghc-internal/src/GHC/Internal/Exception/Type.hs Changes: ===================================== libraries/base/src/Control/Exception.hs ===================================== @@ -116,7 +116,9 @@ module Control.Exception bracket_, bracketOnError, finally, - onException + onException, + -- ** Printing + displayExceptionWithInfo ) where ===================================== libraries/ghc-internal/src/GHC/Internal/Exception/Type.hs ===================================== @@ -246,7 +246,7 @@ instance Exception SomeException where -- * The exception context -- -- By default, 'uncaughtExceptionHandler' uses 'displayExceptionWithInfo' to print uncaught exceptions. --- This default can be overriden with 'setUncaughtExceptionHandler', for +-- This default can be overridden with 'setUncaughtExceptionHandler', for -- instance, to present custom error messages on exceptions to the user. -- -- @since base-4.21 View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7d6de41de928ab90411f181f879a5b04... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7d6de41de928ab90411f181f879a5b04... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Rodrigo Mesquita (@alt-romes)