summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/PriorityQueueProxy.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-07-20 22:35:38 +0000
committerPaul Phillips <paulp@improving.org>2009-07-20 22:35:38 +0000
commita91a8b2ac22d49b1690482fbf1271d203ebb457b (patch)
tree4ca1ad265b2850dc4c3ad308e3e1c233af4ba94d /src/library/scala/collection/mutable/PriorityQueueProxy.scala
parent04ed00053ec03848f3409e090d818418c19a8541 (diff)
downloadscala-a91a8b2ac22d49b1690482fbf1271d203ebb457b.tar.gz
scala-a91a8b2ac22d49b1690482fbf1271d203ebb457b.tar.bz2
scala-a91a8b2ac22d49b1690482fbf1271d203ebb457b.zip
The creation of scala.collection.mutable.Iterab...
The creation of scala.collection.mutable.Iterable in 2.8 means that all the other classes in scala.collection.mutable are impacted - what they once thought was scala.Iterable is now mutable Iterable. This meant such things as Stack ++= List(1,2,3) would no longer compile. This patch qualifies the relevant Iterables as collection.Iterables, though based on inspecting other classes, it's likely they should actually be Traversables.
Diffstat (limited to 'src/library/scala/collection/mutable/PriorityQueueProxy.scala')
-rw-r--r--src/library/scala/collection/mutable/PriorityQueueProxy.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/mutable/PriorityQueueProxy.scala b/src/library/scala/collection/mutable/PriorityQueueProxy.scala
index de909fa470..1ac00081a8 100644
--- a/src/library/scala/collection/mutable/PriorityQueueProxy.scala
+++ b/src/library/scala/collection/mutable/PriorityQueueProxy.scala
@@ -54,7 +54,7 @@ abstract class PriorityQueueProxy[A <% Ordered[A]] extends PriorityQueue[A]
*
* @param iter an iterable object
*/
- override def ++=(iter: Iterable[A]): Unit = self ++= iter
+ override def ++=(iter: collection.Iterable[A]): Unit = self ++= iter
/** Adds all elements provided by an iterator into the priority queue.
*