Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String.view.reverse.takeWhile exception #5971

Closed
scabug opened this issue Jun 25, 2012 · 1 comment
Closed

String.view.reverse.takeWhile exception #5971

scabug opened this issue Jun 25, 2012 · 1 comment
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Jun 25, 2012

{code}"foo".view.reverse.takeWhile(_ => true)

java.lang.UnsupportedOperationException: SeqViewR(...).newBuilder
at scala.collection.TraversableViewLike$class.newBuilder(TraversableViewLike.scala:78)
at scala.collection.IterableViewLike$AbstractTransformed.newBuilder(IterableViewLike.scala:47)
at scala.collection.IterableLike$class.takeWhile(IterableLike.scala:140)
at scala.collection.IterableViewLike$AbstractTransformed.takeWhile(IterableViewLike.scala:47)
at scala.collection.SeqViewLike$AbstractTransformed.takeWhile(SeqViewLike.scala:43)
{code}

The code worked fine in Scala 2.8-2.9

@scabug
Copy link
Author

scabug commented Jun 25, 2012

Imported From: https://issues.scala-lang.org/browse/SI-5971?orig=1
Reporter: Pavel Fatin (pavel.fatin)
Affected Versions: 2.10.0-M4

@scabug scabug closed this as completed Jun 27, 2012
@scabug scabug added this to the 2.10.0-M4 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants