Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tighter pattern matching hits the street. | Paul Phillips | 2010-02-18 | 1 | -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 Phillips | 2009-07-18 | 1 | -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 Phillips | 2009-07-18 | 1 | -0/+7 |