Skip to content
Snippets Groups Projects
Commit 6ecdfb8f authored by Andrew Martin's avatar Andrew Martin
Browse files

Fix deprecation pragma on sizeofMutablePrimArray

parent 3b9e3be4
No related branches found
No related tags found
No related merge requests found
......@@ -489,7 +489,7 @@ getSizeofMutablePrimArray arr
-- This function is deprecated and will be removed.
sizeofMutablePrimArray :: forall s a. Prim a => MutablePrimArray s a -> Int
{-# INLINE sizeofMutablePrimArray #-}
{-# DEPRECATED "use getSizeofMutablePrimArray instead" sizeofMutablePrimArray #-}
{-# DEPRECATED sizeofMutablePrimArray "use getSizeofMutablePrimArray instead" #-}
sizeofMutablePrimArray (MutablePrimArray arr#) =
I# (quotInt# (sizeofMutableByteArray# arr#) (sizeOfType# (Proxy :: Proxy a)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment