summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/Set.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-03-22 18:22:21 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2011-03-22 18:22:21 +0000
commit60d9a5127cf190c90e2e3ce4f79455469dac54eb (patch)
tree7b3fc90e50b1086459db9f38d6f58875bc1a8e21 /src/library/scala/collection/Set.scala
parentfda6c9517efc154c8516acaf139f4a547a9e4575 (diff)
downloadscala-60d9a5127cf190c90e2e3ce4f79455469dac54eb.tar.gz
scala-60d9a5127cf190c90e2e3ce4f79455469dac54eb.tar.bz2
scala-60d9a5127cf190c90e2e3ce4f79455469dac54eb.zip
Adding the `seq` method to all collections.
Diffstat (limited to 'src/library/scala/collection/Set.scala')
-rw-r--r--src/library/scala/collection/Set.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/scala/collection/Set.scala b/src/library/scala/collection/Set.scala
index 412ebf0e25..f89df50f26 100644
--- a/src/library/scala/collection/Set.scala
+++ b/src/library/scala/collection/Set.scala
@@ -27,6 +27,8 @@ trait Set[A] extends (A => Boolean)
with GenericSetTemplate[A, Set]
with SetLike[A, Set[A]] {
override def companion: GenericCompanion[Set] = Set
+
+ override def seq: Set[A] = this
}
/** $factoryInfo