aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg
Commit message (Collapse)AuthorAgeFilesLines
* TailRec phase and tests for it.Dmitry Petrashko2014-04-1112-233/+0
| | | | | | | | | | | | | | | | | | | | | | | | Ported tailcall phase from scalac with such changes: - all transformation is done in the phase itself (previously half of the work was done in backend) - it is now able to run before uncurry - it is now a treeTransform - renamed to tailrec to make it more obvious that this phase transforms only recursive calls. For now this is a single phase which speculatively transforms DefDefs. Speculation can be potentially removed by splitting into 2 phases: one detecting which methods should be transformed second performing transformation. But, as transformation requires as same amount of work as detection, I believe it will be simpler to maintain it as a single phase. Conflicts: tests/pos/typers.scala
* move all tests in tests/untried/neg which use implicits to ↵Samuel Gruetter2014-03-19113-2914/+0
| | | | tests/untried/neg-with-implicits
* apply srewrite (no procedure syntax for constructors) to tests/untried/negSamuel Gruetter2014-03-193-6/+6
|
* add tests from scala/test/files/{pos,neg}Samuel Gruetter2014-03-121970-0/+25934
with explicit Unit return type