Closed scabug closed 13 years ago
Imported From: https://issues.scala-lang.org/browse/SI-2548?orig=1 Reporter: @dcsobral
@paulp said: I would need advice on how to deal with this. I'm finding the coupling between X, XLike, and XView blocks any interesting change I attempt to make. In particular I thought the loop ought to be cut off by overriding view in the *View classes, but with each of Coll, Repr, and This waving their own list of demands, I didn't see how to get anywhere that way.
@axel22 said: (In r20288) fixed #2548 - reverse, reverseIterator for views bug. Also - reverseMap for views now should work. review by phaller.
As summarized above, calling reverse on a SequenceView throws a StackOverFlowError. Example:
Observed on scala-2.8.0.r18997-b20091009021954, downloaded from nightly.