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
trait Arr[T] object Arr { def apply[T](xs: T): Arr[T] = null def apply(x: Long) : Arr[Long] = null } object I { implicit def arrToTrav[T] (a: Arr[T]) : Traversable[T] = null implicit def longArrToTrav(a: Arr[Long]): Traversable[Long] = null } object Test { def foo(t: Traversable[Any]) {} object Okay { Arr("1") import I.{ arrToTrav, longArrToTrav } foo(Arr("2")) } object Fail { import I.arrToTrav foo(Arr("3")) // found String, expected Long } }
Extracted from a bootstrap failure I encountered when messing with error reporting from isCompatble/ viewExists in #8219
isCompatble
viewExists
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-8230?orig=1 Reporter: @retronym Affected Versions: 2.10.3
Sorry, something went wrong.
@retronym said: Pending test and analysis: https://github.com/retronym/scala/compare/ticket/8230
retronym
No branches or pull requests
Extracted from a bootstrap failure I encountered when messing with error reporting from
isCompatble
/viewExists
in #8219The text was updated successfully, but these errors were encountered: