summaryrefslogtreecommitdiff
path: root/test/files/run/hashhash.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fixes SI-5640Dominik Gruntz2012-05-101-0/+8
|
* Revert recent commits.Paul Phillips2012-05-091-8/+0
| | | | | This reverts commit 9b6f51d3ae6ddc6571d3101ea715e25a05aa8adb. This reverts commit b5919100e785df58bde35bb24abe9d60b4da08a2.
* removes redundant hash implementation from BoxesRunTime.javaDominik Gruntz2012-05-091-0/+8
|
* Fix for ## inconsistency.Paul Phillips2012-05-081-0/+5
| | | | Hopefully without slowing things down overmuch. Closes SI-5640.
* Begone t1737...Hubert Plociniczak2011-11-021-1/+1
|
* Disallowed super.XX calls to Any methods which ...Paul Phillips2010-08-071-7/+2
| | | | | | | | | | Disallowed super.XX calls to Any methods which are presently either crashing the compiler (isInstanceOf) or leading to runtime failure (== and !=) in addition to one which was being rewritten to a this call but makes more sense disallowed like the others (##). Closes #3736, review by odersky.
* Added ## method to Any as our scala hashCode me...Paul Phillips2010-02-281-0/+15
Added ## method to Any as our scala hashCode method which provides consistent answers for primitive types. And I'm sure we're all tired of new starrs, but it's hard to add a method to Any without one. This patch only brings ## into existence, but nothing calls it yet. // some true assertions scala> assert(5.5f.## == 5.5f.hashCode) scala> assert(5.0f.## != 5.0f.hashCode && 5.0f.## == 5L.##) No review. (Already reviewed by odersky.)