New issue
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
virpatmat crasher: _1 is not a member of #6624
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6624?orig=1 |
@retronym said:
|
@retronym said (edited on Nov 7, 2012 2:28:10 PM UTC):
val accessorsSorted = accessors sortBy indexInCPA
if (accessorsSorted isDefinedAt (i-1)) REF(binder) DOT accessorsSorted(i-1)
else codegen.tupleSel(binder)(i) // this won't type check for case classes, as they do not inherit ProductN
|
@retronym said: |
@retronym said: |
@retronym said: |
@adriaanm said: I wish I had thought of this when I saw that _1, _2 commit. I think something along the lines of your second patch would be best. I'll have a look |
@paulp said: Is someone holding back an argument for using decls? If not, it should be members. |
@retronym said: |
@adriaanm said: |
@adriaanm said (edited on Nov 17, 2012 1:45:34 AM UTC): |
@paulp said: case class A(private var x: Int) { }
class B(q1: Int) extends A(q1) { def x = 123 } |
@adriaanm said: |
@adriaanm said: |
Thanks to Lars Hupel for extracting this from Scalaz.
The text was updated successfully, but these errors were encountered: