aboutsummaryrefslogtreecommitdiff
path: root/tests/run/liftedTry.scala
Commit message (Collapse)AuthorAgeFilesLines
* Add test caseMartin Odersky2015-09-181-2/+1
|
* Add a local val to lifted try to make sure owners are still legal.Martin Odersky2015-08-151-1/+1
| | | | | Checks the hypothesis that lifting a try may safely move expressions into a ValDef owned by a new temp var.
* Fix CaputuredVars/LiftTry interaction.Martin Odersky2015-08-151-1/+11
| | | | | | CapturedVars introduced an assignment that could cause a try to be executed with a non-empty stack, even after LiftTry had already run. We now avoid this by introducing a temporary variable.
* Add LiftTry phaseMartin Odersky2015-08-051-0/+21
Phase lifts tries that would be illegal because they execute on non-empty expression stacks.