The following code compiles fine with Scala 3.0.0
def withAccessTokenM[R <: Has[_], E](token: ZIO[R, E, String], dummy: Boolean = false): WithAccessPartiallyM[R, E] = ???
But gives this error when compiled against Scala 3.0.2
def withAccessTokenM[R <: Has[_], E](token: ZIO[R, E, String], dummy: Boolean = false): WithAccessPartiallyM[R, E] =
[error] | ^
[error] | Type argument R does not have the same kind as its bound
is this a bug?