Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.9.2
    • Fix Version/s: Scala 2.10.0
    • Component/s: Collections
    • Environment:

      Debian linux running scala 2.9.2 final

      Description

      The following program results in an ArrayStack with an ArrayStack with two Objects and a null element when it should end up with an ArrayStack with three Objects.

      import scala.collection.mutable.ArrayStack
      var x = ArrayStack[Object](new Object, new Object, new Object)
      x filter (_.isInstanceOf[Object])
      

        Activity

        Hide
        Simon Ochsenreither added a comment -

        This seems to be fixed in both 2.10.0-RC1 and 2.11.0-20121010-013641-9bedb07350.

        I'll leave it open for those who decide whether there will be a 2.9.3.

        Show
        Simon Ochsenreither added a comment - This seems to be fixed in both 2.10.0-RC1 and 2.11.0-20121010-013641-9bedb07350. I'll leave it open for those who decide whether there will be a 2.9.3.
        Hide
        Jason Zaugg added a comment -

        Test case in https://github.com/scala/scala/pull/1733. I'm not sure when it was fixed, it was sometime in v2.9.2...v2.10.0-M1.

        Show
        Jason Zaugg added a comment - Test case in https://github.com/scala/scala/pull/1733 . I'm not sure when it was fixed, it was sometime in v2.9.2...v2.10.0-M1 .

          People

          • Assignee:
            Jason Zaugg
            Reporter:
            Ronald Schlaifer
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development