scala / collection-strawman

Implementation of the new Scala 2.13 Collections
Apache License 2.0
200 stars 72 forks source link

Queue reverses to ArrayDeque #505

Closed Ichoran closed 6 years ago

Ichoran commented 6 years ago
scala> val y = strawman.collection.mutable.Queue(1)
y: strawman.collection.mutable.Queue[Int] = ArrayDeque(1)

scala> y.reverse
res1: strawman.collection.mutable.ArrayDeque[Int] = ArrayDeque(1)
julienrf commented 6 years ago

I think this is fixed in https://github.com/scala/scala/pull/6508