Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test case | Martin Odersky | 2015-09-18 | 1 | -2/+1 |
| | |||||
* | Add a local val to lifted try to make sure owners are still legal. | Martin Odersky | 2015-08-15 | 1 | -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 Odersky | 2015-08-15 | 1 | -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 phase | Martin Odersky | 2015-08-05 | 1 | -0/+21 |
Phase lifts tries that would be illegal because they execute on non-empty expression stacks. |