Skip to content

Commit

Permalink
fix scala 2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
fwbrasil committed Nov 26, 2023
1 parent ad86794 commit 81c176d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kyo-core/shared/src/main/scala/kyo/concurrent/fibers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ object fibers {
def parallelFiber[T](l: Seq[T > Fibers])(implicit f: Flat[T > Fibers]): Fiber[Seq[T]] > IOs =
l.size match {
case 0 => Fiber.done(Seq.empty)
case 1 => Fibers.run(l(0).map(Seq(_)))
case 1 => Fibers.run(l(0).map(Seq(_)))(Flat.unsafe.checked)
case _ =>
Locals.save.map { st =>
IOs {
Expand Down

0 comments on commit 81c176d

Please sign in to comment.