Whoa, whoa, that won't work without seq, will it?  elems isn't
synchronized.  If you traverse in parallel you'll end up with missed
elements.

Where are these pull requests?

  --Rex


On Thu, Oct 31, 2013 at 4:52 AM, Aleksandar Prokopec <
notifications@github.com> wrote:

> In src/library/scala/collection/TraversableOnce.scala:
>
> > @@ -97,7 +97,7 @@ trait TraversableOnce[+A] extends Any with GenTraversableOnce[A] {
> >    // for internal use
> >    protected[this] def reversed = {
> >      var elems: List[A] = Nil
> > -    self.seq foreach (elems ::= _)
> > +    self foreach (elems ::= _)
>
> Seems like this should work as well.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/scala/scala/pull/3089/files#r7339648>
> .
>