Skip to content

Commit

Permalink
Make i21215 a pos test
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneFlesselle committed Jul 24, 2024
1 parent 6e1ae14 commit 75ac7a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/neg/i21215.scala → tests/pos/i21215.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ trait Temporal[F[_]] extends MonadError[F, Throwable]

trait FlatMapOps[F[_], A]:
def flatMap[B](f: A => F[B]): F[B] = ???
def map[B](f: A => B): F[B] = ???
def ifM[B](ifTrue: => F[B], ifFalse: => F[B])(implicit F: FlatMap[F]): F[B] = ???

implicit def toFlatMapOps[F[_], A](target: F[A])(implicit tc: FlatMap[F]): FlatMapOps[F, A] = ???
Expand Down

0 comments on commit 75ac7a9

Please sign in to comment.