aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/scala/async/run/live/LiveVariablesSpec.scala
Commit message (Collapse)AuthorAgeFilesLines
* fix procedure syntaxxuwei-k2018-05-091-11/+11
|
* copyright 2018 LightbendSeth Tisue2018-02-061-1/+1
|
* Compatibility with Scala 2.12.0-RC1Jason Zaugg2016-09-081-1/+0
| | | | | | | | | | | | | | | | - method local lazy vals are now encoded as a single ValDef rather than a ValDef + DefDef pair. We need to treat ValDef-s with the LAZY flag in the same way as we used to treat the DefDef. - Rename one of the symbols `ANF,anf` in the same scope to avoid generating anonymous class names that differ only in case. The compiler warned about this one. - When patching the LabelDefs to have a `Unit` result type, propagate this other LabelDefs conclude with a jump to that label. Not sure why, but without this we now hit an error in the backend about the nonsensical attempt to emit a coercion from void to int. - Use crossScalaVersions in the build and update the Scala versions tested in CI.
* Avoid masking real errors with NotImplemented awaiting Future[Nothing]Jason Zaugg2015-07-061-0/+26
| | | | | | This commit disabled live variable analysis for intermediate values of type Nothing. Fixes #104
* currentUnit.freshName => c.freshName (leads to less precise tests...)Eugene Burmako2014-02-151-11/+11
|
* Update copyright years.Jason Zaugg2014-01-141-1/+1
| | | | 2013 must have been unlucky.
* Don't aggressively null out captured varsJason Zaugg2013-11-121-3/+117
| | | | | Once they escape, we leave the references in the state machines fields untouched.
* Avoid zero-ing out dead fields of primitive value class typePhilipp Haller2013-10-221-10/+122
| | | | | - Zero out fields of type Any - Zero out fields of value class type
* Enables testing the resetting of lifted local variablesPhilipp Haller2013-10-221-0/+40
- Adds a hook that lets a derived macro insert additional code when zero-ing out a lifted field. - Adds a variant of the `AsyncId` macro that logs zeroed-out fields. - Adds a test using this mechanism