Skip to content

Commit 17e8653

Browse files
committed
Fix Scala 3 compilation error
1 parent a7a6370 commit 17e8653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/shared/src/main/scala/fs2/concurrent/Signal.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ object Signal extends SignalInstances {
8282

8383
/** Predicates the supplied effect `f` on this `Signal` being `true`.
8484
*/
85-
def predicate(f: F[_])(implicit F: Monad[F]): F[Unit] =
85+
def predicate[A](f: F[A])(implicit F: Monad[F]): F[Unit] =
8686
self.get.flatMap(f.whenA)
8787

8888
}

0 commit comments

Comments
 (0)