Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SI-5907, SI-5009 case-class copy defaults only for first param list | Lukas Rytz | 2012-07-05 | 1 | -0/+1 |
| | | | | | `copy` no longer returns anonymous functions if there are multiple parameter lists, reverts most of 40e7cab7a2. Cleaned up the special type completer for copy methods. | ||||
* | Fix SI-5009: case-class copy method now eta-expands over higher parameter lists. | Lukas Rytz | 2012-05-11 | 1 | -0/+4 |
Example: Given case class C(a: Int)(b: Int) if you call (new C(1)(2)).copy(a = 10)), you get a function (f: Int => C) such that (f.apply(20)) yields a (new C(10)(20)). |