This page is no longer maintained — Please continue to the home page at www.scala-lang.org

caseFieldAccessors: fixing me softly

No replies
extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.

I just committed in r19145 a patch which once again goes after ticket
#1373, but from a position of enhanced understanding. Since I
subtly broke stuff the last time I went after that bug, this time it is
extremely carefully examined and very thoroughly tested, but I figured I
had better also mention it here. The breakage last time was (I'm 99%
sure) a result of calling fullNameString on Symbol -- this time I only
use machinery which I know has already been used.

Iulian: I had to make a change to SpecializeTypes. The logic you had in
there was necessary only because of the incorrect logic being used in
caseFieldAccessors, but once that logic was corrected, your workaround
turned into an anti-workaround because I could no longer see the
original fields. So now it's an anti-anti-workaround.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland