Details

      Description

      Possibly introduced in 5fa1978 .

      scala> class A ; class B ; List().head.isInstanceOf[A with B]
      defined class A
      defined class B
      res0: Boolean = true
      

        Activity

        Hide
        Jan Niehusmann added a comment -
        Show
        Jan Niehusmann added a comment - Possible fix in https://github.com/scala/scala/pull/1599
        Hide
        Paolo G. Giarrusso added a comment -

        The pull request was merged (but only in master, AFAIK). Should this bug be closed for master? Should this be backported to 2.10.0?

        Show
        Paolo G. Giarrusso added a comment - The pull request was merged (but only in master, AFAIK). Should this bug be closed for master? Should this be backported to 2.10.0?
        Hide
        Jason Zaugg added a comment -

        We're going to review all the fixes targetting 2.11.0 for backports to 2.10.1, this one should be a worthy candidate. But right now, closing as fixed in 2.11.0

        Show
        Jason Zaugg added a comment - We're going to review all the fixes targetting 2.11.0 for backports to 2.10.1, this one should be a worthy candidate. But right now, closing as fixed in 2.11.0
        Hide
        Jason Zaugg added a comment -

        Reopened pending backport to 2.10.1: https://github.com/scala/scala/pull/1952

        Show
        Jason Zaugg added a comment - Reopened pending backport to 2.10.1: https://github.com/scala/scala/pull/1952
        Hide
        Paul Phillips added a comment -

        40bf1d8

        Show
        Paul Phillips added a comment - 40bf1d8

          People

          • Assignee:
            Paul Phillips
            Reporter:
            Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development