summaryrefslogtreecommitdiff
path: root/test/files/run/bug1427.scala
Commit message (Collapse)AuthorAgeFilesLines
* Still giddy with the thrill of fixing #266, I v...Paul Phillips2010-09-301-0/+15
Still giddy with the thrill of fixing #266, I vanquish another pattern matcher bug from the dawn of time. If you've always wanted to write code like this: class Bob[K[_]] { def foo(other: Any) = other match { case x: (Bob[X] forSome { type X[_] }) => } } Now is your chance. Closes #1427, review by moors. (Is there a better way to "shake off" the pattern existential?)