summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/collection/BitSet.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/collection/BitSet.scala b/src/library/scala/collection/BitSet.scala
index 0952e01432..ad0a71f4a6 100644
--- a/src/library/scala/collection/BitSet.scala
+++ b/src/library/scala/collection/BitSet.scala
@@ -143,4 +143,5 @@ abstract class BitSet extends Set[Int] {
*/
protected final def mask(n: Int): Int = 1 << (n & 0x1F)
+ override def toArray[B >: Int]: Array[B] = super.toArray
}