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
Scala version: 2.13.11
$ scala -Vprint -Xlint -Dscala.repl.info scala 2.13.11> import scala.collection.{AnyStepper, Stepper} scala 2.13.11> def f[A, B](x: => AnyStepper[A], y: => Stepper[B]): Unit = { | List(() => x, () => y) | } [[syntax trees at end of typer]] // <console> def f[A, B](x: => scala.collection.AnyStepper[A], y: => scala.collection.Stepper[B]): Unit = { scala.`package`.List.apply[() => scala.collection.Stepper[Any]]((() => x), (() => y)); () }
It inferred Any but did not warn.
Any
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction steps
Scala version: 2.13.11
Problem
It inferred
Any
but did not warn.The text was updated successfully, but these errors were encountered: