You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As summarized above, calling reverse on a SequenceView throws a StackOverFlowError. Example:
scala>List(1,2,3,4,5,6).view.reverse
java.lang.StackOverflowError
at scala.collection.generic.SequenceViewTemplate$$$$anon$$8.<init>(SequenceViewTemplate.scala:136)
at scala.collection.generic.SequenceViewTemplate$$class.newReversed(SequenceViewTemplate.scala:136)
at scala.collection.generic.SequenceTemplate$$$$anon$$3.newReversed(SequenceTemplate.scala:433)
at scala.collection.generic.SequenceViewTemplate$$class.reverse(Seq...
Observed on scala-2.8.0.r18997-b20091009021954, downloaded from nightly.
The text was updated successfully, but these errors were encountered:
@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.
As summarized above, calling reverse on a SequenceView throws a StackOverFlowError. Example:
Observed on scala-2.8.0.r18997-b20091009021954, downloaded from nightly.
The text was updated successfully, but these errors were encountered: