We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discovered by @retronym: scala/scala-java8-compat#97 and minimized to,
trait BaseStream[T, S <: BaseStream[T, S]] trait Stream[T] extends BaseStream[T, Stream[T]] trait IntStream extends BaseStream[Integer, IntStream] sealed trait SS[T, S <: BaseStream[_, S]] object SSImplicits extends Low { implicit val IntValue: SS[Int, IntStream] = null } trait Low { implicit def anyStreamShape[T]: SS[T, Stream[T]] = null } import SSImplicits.{IntValue, anyStreamShape} class Test { implicit def f[A, S <: BaseStream[_, S], CC](a: A)(implicit ss: SS[A, S]): S = ??? // switch these lines and typechecking the body of `def x` fails in 2.13.x x y def x = f(0): IntStream def y = f[String, Stream[String], Vector[String]]("") }
Identified as a regression caused by scala/scala#6140 ... see scala/scala#6140 (comment).
The text was updated successfully, but these errors were encountered:
milessabin
Successfully merging a pull request may close this issue.
Discovered by @retronym: scala/scala-java8-compat#97 and minimized to,
Identified as a regression caused by scala/scala#6140 ... see scala/scala#6140 (comment).
The text was updated successfully, but these errors were encountered: