summaryrefslogtreecommitdiff
path: root/test/files/run/hashCodeStatics.scala
Commit message (Collapse)AuthorAgeFilesLines
* Remove the duplicate implem of hash codes for numbers.Sébastien Doeraene2016-04-211-0/+28
Previously, there were two separate implementations of hash code for boxed number classes: * One in Statics, used by the codegen of case class methods. * One in ScalaRunTime + BoxesRunTime, used by everything else. This commit removes the variant implemented in ScalaRunTime + BoxesRunTime, and always uses Statics instead. We use Statics because the one from ScalaRunTime causes an unnecessary module load. The entry point ScalaRunTime.hash() is kept, as deprecated, for bootstrapping reasons.