summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1878.check
Commit message (Collapse)AuthorAgeFilesLines
* Tighter pattern matching hits the street.Paul Phillips2010-02-181-1/+6
| | | | | | | | | | | | | is final and does not conform to the pattern, it will no longer compile. See all the exciting things you can no longer do: "bob".reverse match { case Seq('b', 'o', 'b') => true } // denied! "bob".toArray match { case Seq('b', 'o', 'b') => true } // rejected! final class Dunk def f3(x: Dunk) = x match { case Seq('b', 'o', 'b') => true } // uh-uh! And so forth. Review by odersky.
* Added test case for #1764 to the test case for ...Paul Phillips2009-07-181-1/+4
| | | | | | Added test case for #1764 to the test case for #1878 (as #1764 was fixed along with it in r18343.)
* Fix and post/neg test cases for #1878.Paul Phillips2009-07-181-0/+7