diff options
author | mihaylov <mihaylov@epfl.ch> | 2006-07-14 07:29:48 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2006-07-14 07:29:48 +0000 |
commit | 701558d9241291c5afdb25f31d9b682c88cb39ec (patch) | |
tree | 4b92d73a5cb28c13d23b744a6179fe402d17d7a1 | |
parent | 23e9172c9959ed754d56be6fd4b48e4c49fc5357 (diff) | |
download | scala-701558d9241291c5afdb25f31d9b682c88cb39ec.tar.gz scala-701558d9241291c5afdb25f31d9b682c88cb39ec.tar.bz2 scala-701558d9241291c5afdb25f31d9b682c88cb39ec.zip |
Fixed bug contribution #167
-rw-r--r-- | src/library/scala/collection/mutable/HashSet.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/HashSet.scala b/src/library/scala/collection/mutable/HashSet.scala index 5003899c20..7a1f892905 100644 --- a/src/library/scala/collection/mutable/HashSet.scala +++ b/src/library/scala/collection/mutable/HashSet.scala @@ -43,7 +43,7 @@ class HashSet[A] extends Set[A] with HashTable[A] { protected def entryKey(e: Entry) = e; - override def clone(): HashSet[A] = { + override def clone(): Set[A] = { val res = new HashSet[A]; res ++= this; res |