summaryrefslogtreecommitdiff
path: root/test/files/neg/tailrec-2.scala
Commit message (Collapse)AuthorAgeFilesLines
* Fix for tailcall transform/recognition bugs.Paul Phillips2012-03-111-0/+3
| | | | Closes SI-3275, SI-5455.
* Imported sbt.Process into trunk, in the guise o...Paul Phillips2011-01-121-3/+3
| | | | | | | | | | | | | | | | | | | Imported sbt.Process into trunk, in the guise of package scala.sys.process. It is largely indistinguishable from the version in sbt, at least from the outside. Also, I renamed package system to sys. I wanted to do that from the beginning and the desire has only grown since then. Sometimes a short identifier is just critical to usability: with a function like error("") called from hundreds of places, the difference between system.error and sys.error is too big. sys.error and sys.exit have good vibes (at least as good as the vibes can be for functions which error and exit.) Note: this is just the first cut. I need to check this in to finish fixing partest. I will be going over it with a comb and writing documentation which will leave you enchanted, as well as removing other bits which are now redundant or inferior. No review.
* Introducing scala.system, the product of a whir...Paul Phillips2010-12-041-3/+3
| | | | | | | | | | Introducing scala.system, the product of a whirlwind couple of hours. More useful stuff than you can shake three sticks at. See the scala.system package object. It's even documented. And since it has methods error and exit, proceeded to deprecate the ones in Predef. No review.
* Some more improvement on the error messages whe...Paul Phillips2010-07-021-0/+26
Some more improvement on the error messages when @tailrec fails. Now it gives a sensible message if the recursive target is actually a supertype of this, rather than saying the call is not in tail position. No review.