[Git][ghc/ghc][master] Don't lose parentheses in show SomeAsyncException
Marge Bot
gitlab at gitlab.haskell.org
Wed May 29 14:40:24 UTC 2019
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
9062b625 by Nathan Collins at 2019-05-29T14:40:21Z
Don't lose parentheses in show SomeAsyncException
- - - - -
1 changed file:
- libraries/base/GHC/IO/Exception.hs
Changes:
=====================================
libraries/base/GHC/IO/Exception.hs
=====================================
@@ -178,7 +178,7 @@ data SomeAsyncException = forall e . Exception e => SomeAsyncException e
-- | @since 4.7.0.0
instance Show SomeAsyncException where
- show (SomeAsyncException e) = show e
+ showsPrec p (SomeAsyncException e) = showsPrec p e
-- | @since 4.7.0.0
instance Exception SomeAsyncException
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/9062b62555ced7403cb97f5fd55cffdd57fbf717
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/9062b62555ced7403cb97f5fd55cffdd57fbf717
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/20190529/3e0feaa2/attachment.html>
More information about the ghc-commits
mailing list