Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.0-M4
    • Fix Version/s: Scala 2.10.0-M4
    • Component/s: Collections
    • Labels:

      Description

      "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)
      

      The code worked fine in Scala 2.8-2.9

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Aleksandar Prokopec
            Reporter:
            Pavel Fatin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development