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
import scala.annotation.tailrec object Foo { implicit class Foo[A](val x: Int) extends AnyVal { def bippy() = { @tailrec def loop(x: A): Unit = loop(x) () } } // uncaught exception during compilation: Types$TypeError("type mismatch; // found : A(in method bippy$extension) // required: A(in class Foo)") @ scala.tools.nsc.typechecker.Contexts$Context.issueCommon(Contexts.scala:396) // error: scala.reflect.internal.Types$TypeError: type mismatch; // found : A(in method bippy$extension) // required: A(in class Foo) }
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6891?orig=1 Reporter: @paulp Affected Versions: 2.10.0 See #6482, #6574
Sorry, something went wrong.
@retronym said: See the fix of #6482 for some inspiration.
Diagnosis and a first cut at a fix:
https://github.com/retronym/scala/compare/ticket/6891
I've posed some questions in the commit comment that are puzzling me.
@retronym said: I think I can see the correct fix for this.
Wish me luck: https://scala-webapps.epfl.ch/jenkins/job/scala-checkin-manual/755/console
@paulp said: Alas, poor retronym, we knew him well.
@retronym said: Back from the brink:
scala/scala#1936
retronym
No branches or pull requests
The text was updated successfully, but these errors were encountered: