[Git][ghc/ghc][master] Fix typo in the @since annotation of annotateIO
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Wed Oct 9 20:42:12 UTC 2024
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
55609880 by Andrzej Rybczak at 2024-10-09T16:41:46-04:00
Fix typo in the @since annotation of annotateIO
- - - - -
1 changed file:
- libraries/ghc-internal/src/GHC/Internal/IO.hs
Changes:
=====================================
libraries/ghc-internal/src/GHC/Internal/IO.hs
=====================================
@@ -234,7 +234,7 @@ catchAny !(IO io) handler = IO $ catch# io handler'
-- | Execute an 'IO' action, adding the given 'ExceptionContext'
-- to any thrown synchronous exceptions.
--
--- @since base-2.20.0.0
+-- @since base-4.20.0.0
annotateIO :: forall e a. ExceptionAnnotation e => e -> IO a -> IO a
annotateIO ann (IO io) = IO (catch# io handler)
where
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/55609880c3eeda2c13859c10c157d7df05496288
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/55609880c3eeda2c13859c10c157d7df05496288
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/20241009/5700fec0/attachment.html>
More information about the ghc-commits
mailing list