[Git][ghc/ghc][wip/romes/25091] Apply 1 suggestion(s) to 1 file(s)

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Tue Jul 30 15:33:08 UTC 2024



Rodrigo Mesquita pushed to branch wip/romes/25091 at Glasgow Haskell Compiler / GHC


Commits:
3218c3b2 by Rodrigo Mesquita at 2024-07-30T15:33:06+00:00
Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: sheaf <sam.derbyshire at gmail.com>
- - - - -


1 changed file:

- libraries/ghc-internal/src/GHC/Internal/Exception/Type.hs


Changes:

=====================================
libraries/ghc-internal/src/GHC/Internal/Exception/Type.hs
=====================================
@@ -53,7 +53,10 @@ import GHC.Internal.Show
 import GHC.Internal.Exception.Context
 
 {- |
-An exception context.
+A constraint used to propagate 'ExceptionContext's.
+
+GHC will automatically default any unsolved 'HasExceptionContext' constraints to an
+empty exception context, similarly to 'HasCallStack'.
 
 NOTE: The fact that @HasExceptionContext@ is defined as an implicit parameter is
 an implementation detail and __should not__ be considered a part of the API.



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3218c3b226a6d18deccfb6e98510b84fa135ae6d

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3218c3b226a6d18deccfb6e98510b84fa135ae6d
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/20240730/ca70e1c2/attachment.html>


More information about the ghc-commits mailing list