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> class C(val a: Any) extends AnyVal; implicit def c2AnyRef(c: C): AnyRef = new {} warning: there were 1 feature warnings; re-run with -feature for details defined class C c2AnyRef: (c: C)AnyRef scala> val c = new C(0) c: C = C@0 scala> type t = c.type <console>:13: error: stable identifier required, but c2AnyRef(c) found. type t = c.type ^
The attempt to adapted c to AnyRef when checking stability of the prefix of the singleton type is both surprising and futile.
c
AnyRef
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-6263?orig=1 Reporter: @retronym Affected Versions: 2.9.2, 2.10.0-M6 Other Milestones: 2.10.0
Sorry, something went wrong.
@paulp said: I fixed this but I unwisely bundled it in a pull request with other stuff which hit the wall. I'll narrow down that pull req.
@paulp said: scala/scala#1232
@gkossakowski said: Should this ticket be closed now since the pull request got merged?
paulp
No branches or pull requests
The attempt to adapted
c
toAnyRef
when checking stability of the prefix of the singleton type is both surprising and futile.The text was updated successfully, but these errors were encountered: