summaryrefslogtreecommitdiff
path: root/src/library/scala/Proxy.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-05-21 17:07:50 +0000
committerPaul Phillips <paulp@improving.org>2010-05-21 17:07:50 +0000
commit712ebe2943640b34ff40b40a363bd72594e62cb5 (patch)
tree33e109835d03eb5710efcec14c0cb14aec79bf8e /src/library/scala/Proxy.scala
parent4382c7dd6e1b079919587639b6979ad55a783db5 (diff)
downloadscala-712ebe2943640b34ff40b40a363bd72594e62cb5.tar.gz
scala-712ebe2943640b34ff40b40a363bd72594e62cb5.tar.bz2
scala-712ebe2943640b34ff40b40a363bd72594e62cb5.zip
Altered a bunch of places which call hashCode t...
Altered a bunch of places which call hashCode to call ## instead. No review.
Diffstat (limited to 'src/library/scala/Proxy.scala')
-rw-r--r--src/library/scala/Proxy.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Proxy.scala b/src/library/scala/Proxy.scala
index d37b8f5e5d..feac5904a5 100644
--- a/src/library/scala/Proxy.scala
+++ b/src/library/scala/Proxy.scala
@@ -21,7 +21,7 @@ package scala
*/
trait Proxy {
def self: Any
- override def hashCode: Int = self.hashCode
+ override def hashCode: Int = self.##
override def equals(that: Any): Boolean =
if(that == null) false
else that equals self