diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-11-18 15:32:11 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-11-30 09:31:25 -0500 |
commit | 68c966cd3c9d581bac4573807e433fe8d063445f (patch) | |
tree | c41fc52398d3aa05eeec6f9d86e8f64c6c8a4c32 /libraries/base | |
parent | cc25d52e0f65d54c052908c7d91d5946342ab88a (diff) | |
download | haskell-68c966cd3c9d581bac4573807e433fe8d063445f.tar.gz |
Fix @since annotations on WithDict and Coercible
Fixes #22453
Diffstat (limited to 'libraries/base')
-rw-r--r-- | libraries/base/Data/Coerce.hs | 1 | ||||
-rwxr-xr-x | libraries/base/GHC/Exts.hs | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libraries/base/Data/Coerce.hs b/libraries/base/Data/Coerce.hs index 2cfb4c9208..804143c613 100644 --- a/libraries/base/Data/Coerce.hs +++ b/libraries/base/Data/Coerce.hs @@ -21,6 +21,7 @@ module Data.Coerce ( -- * Safe coercions + -- @since 4.7.0.0 coerce, Coercible ) where import GHC.Prim (coerce) diff --git a/libraries/base/GHC/Exts.hs b/libraries/base/GHC/Exts.hs index 9114a398e7..da73955cba 100755 --- a/libraries/base/GHC/Exts.hs +++ b/libraries/base/GHC/Exts.hs @@ -122,6 +122,8 @@ module GHC.Exts unsafeCoerce#, -- ** Casting class dictionaries with single methods + -- + -- @since 4.17.0.0 WithDict(..), -- * The maximum tuple size |