We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
HasCallStackIfDebug
1 parent be1276c commit 286a8e9Copy full SHA for 286a8e9
src-control/Control/RefCount.hs
@@ -256,7 +256,7 @@ releaseRef ref@Ref{refobj} = do
256
-- | Get the object in a 'Ref'. Be careful with retaining the object for too
257
-- long, since the object must not be used after 'releaseRef' is called.
258
--
259
-pattern DeRef :: obj -> Ref obj
+pattern DeRef :: HasCallStackIfDebug => obj -> Ref obj
260
#ifndef NO_IGNORE_ASSERTS
261
pattern DeRef obj <- Ref obj
262
#else
0 commit comments