Skip to content

Commit 07eb4e0

Browse files
committed
Point to zio/zio#9047 as the cause of compat breakage
1 parent 7c17db3 commit 07eb4e0

File tree

1 file changed

+3
-0
lines changed
  • fundamentals/fundamentals-bio/src/main/scala/izumi/functional/lifecycle

1 file changed

+3
-0
lines changed

fundamentals/fundamentals-bio/src/main/scala/izumi/functional/lifecycle/Lifecycle.scala

+3
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,9 @@ object Lifecycle extends LifecycleInstances {
930930
// only relevant change was ZIOCompanionVersionSpecific became a 'transparent trait' from regular trait
931931
// BUT using zio.Exit.Success, which is not a trait at all, didn't fix the issue.
932932
// no idea wtf happened, why it broke and why _method internals_ are breaking bincompat/optionality here
933+
// Seems like this is the cause of the compat failure - https://github.com/zio/zio/pull/9047
934+
// - but I still don't understand why zio.Exit.Success is affected and why obscuring the return type is
935+
// necessary here.
933936
private def zioSucceedWorkaround[F[x] >: ZIO[Any, Nothing, x], A](a: A): F[A] = {
934937
zio.Exit.Success(a)
935938
}

0 commit comments

Comments
 (0)