summaryrefslogtreecommitdiff
path: root/test/scaladoc
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-21 23:35:54 +0000
committerPaul Phillips <paulp@improving.org>2011-07-21 23:35:54 +0000
commitaafc0fe172b8db946ccf74110d2f6fa257ffa094 (patch)
tree6d2a5f3485a12beacfa5d1462218642463f55c7e /test/scaladoc
parentce895bbb40b26a64191c6be711643c50977072d6 (diff)
downloadscala-aafc0fe172b8db946ccf74110d2f6fa257ffa094.tar.gz
scala-aafc0fe172b8db946ccf74110d2f6fa257ffa094.tar.bz2
scala-aafc0fe172b8db946ccf74110d2f6fa257ffa094.zip
As per discussion documented in SI-1799, brough...
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.
Diffstat (limited to 'test/scaladoc')
0 files changed, 0 insertions, 0 deletions