Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The birth of the @switch and @tailrec annotations. | Paul Phillips | 2009-03-16 | 1 | -0/+53 |
They are located in package scala.annotation. Also in this patch: * numerous test cases for both annotations * addition of @tailrec and @switch in a few strategic locations * fixes for critical section NewScanners methods which were not being compiled into switches, immediately proving the value of @switch * tail recursive implementations for Iterator.{ dropWhile, drop} and List.dropWhile tagged with @tailrec, closing bug #1376 |