summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Implicits.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/compiler/scala/tools/nsc/typechecker/Implicits.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/compiler/scala/tools/nsc/typechecker/Implicits.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Implicits.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
index 66547fbd2f..20d367337f 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Implicits.scala
@@ -126,8 +126,7 @@ self: Analyzer =>
case _ => false
}
- override def hashCode =
- name.hashCode + pre.hashCode + sym.hashCode
+ override def hashCode = name.## + pre.## + sym.##
override def toString = "ImplicitInfo(" + name + "," + pre + "," + sym + ")"
}