summaryrefslogtreecommitdiff
path: root/test/files/pos/caseclass-productN.scala
Commit message (Collapse)AuthorAgeFilesLines
* Reverted ProductN parent for case classes.Paul Phillips2011-11-161-20/+0
| | | | | Looks like we will need blood, toil, tears, and sweat. No review.
* Begone t1737...Hubert Plociniczak2011-11-021-4/+4
|
* As per discussion documented in SI-1799, brough...Paul Phillips2011-07-211-0/+20
As per discussion documented in SI-1799, brought back the ProductN traits and synthesized them into case classes. It's -Xexperimental for now because there may be minor implications for existing code which should be discussed. And also because I snuck in another "improvement" but it's probably too dangerous to be touching productIterator directly and it should go into something else. scala> case class Bippy(x: Int, y: Int) defined class Bippy scala> Bippy(5, 10).productIterator res0: Iterator[Int] = non-empty iterator ^^^----- as opposed to Iterator[Any] There is an even better idea available than lubbing the case class field types: it starts with "H" and ends with "List"... Review by oderksy.