summaryrefslogtreecommitdiff
path: root/test/files/run/bug4752.scala
Commit message (Collapse)AuthorAgeFilesLines
* Stable hashCodes for case objects.Paul Phillips2011-07-011-0/+10
Somehow case objects fell through the cracks and have had default hashCode implementations, leading to new hashCodes on each jvm run. Now we use the productPrefix, and inline it right into the bytecode. scala> None.## == "None".## res0: Boolean = true Closes #4752, no review.