You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defbracketReleaseIsCalledOnCompletedOrError[A, B](fa: F[A], b: B) = {
since bracketCase must return an F[B], if the A => F[B] returns a failed F[B] the result must be a failure. However, this law is requiring it be equivalent to a pure which we can't guarantee in general.
I had to weaken an effect test in order to get this law (and only this law) to pass.
The text was updated successfully, but these errors were encountered:
see:
cats-effect/laws/shared/src/main/scala/cats/effect/laws/AsyncLaws.scala
Line 74 in 504c437
since
bracketCase
must return anF[B]
, if theA => F[B]
returns a failedF[B]
the result must be a failure. However, this law is requiring it be equivalent to apure
which we can't guarantee in general.I had to weaken an effect test in order to get this law (and only this law) to pass.
The text was updated successfully, but these errors were encountered: