Commit 8147fa32 authored by Ryan Scott's avatar Ryan Scott Committed by Ben Gamari

Correct FixIOException's @since annotation retroactively

In D4113, a `FixIOException` data type was added with a
`@since TODO` annotation, but it seems that `TODO` made it out into
`base-4.11` itself. I've (retroactively) fixed this and added an
entry to the `base-4.11` entry in the `changelog`.

Test Plan: Read it

Reviewers: dfeuer, hvr, bgamari

Reviewed By: dfeuer

Subscribers: thomie, carter

GHC Trac Issues: #14356, #15025

Differential Revision:

(cherry picked from commit ce27c7d5)
parent ab458df6
......@@ -269,12 +269,15 @@ instance Show ArrayException where
. (if not (null s) then showString ": " . showString s
else id)
-- | @since TODO
-- | The exception thrown when an infinite cycle is detected in 'fixIO'.
-- @since
data FixIOException = FixIOException
-- | @since TODO
-- | @since
instance Exception FixIOException
-- | @since
instance Show FixIOException where
showsPrec _ FixIOException = showString "cyclic evaluation in fixIO"
......@@ -85,6 +85,10 @@
* Deprecated STM invariant checking primitives (`checkInv`, `always`, and
`alwaysSucceeds`) in `GHC.Conc.Sync` (#14324).
* Add a `FixIOException` data type to `Control.Exception.Base`, and change
`fixIO` to throw that instead of a `BlockedIndefinitelyOnMVar` exception
## *November 2017*
* Bundled with GHC 8.2.2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment