Scala Programming Language
  1. Scala Programming Language
  2. SI-7985

allow qualified types in pattern type arguments

    Details

      Description

      scala> Array(1) match { case _: Array[scala.Int] => }
      <console>:1: error: ']' expected but '.' found.
             Array(1) match { case _: Array[scala.Int] => }
                                                 ^
      

        Activity

        Show
        Jason Zaugg added a comment - https://github.com/scala/scala/pull/3162
        Hide
        Jason Zaugg added a comment - - edited
        Show
        Jason Zaugg added a comment - - edited Original report and discussion: https://groups.google.com/d/msg/scala-language/2PNDjkI47Ao/MCQw7RzNUwcJ

          People

          • Assignee:
            Jason Zaugg
            Reporter:
            Jason Zaugg
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development