aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 0.9.1v0.9.1_2.11Jason Zaugg2014-04-062-2/+2
|
* Merge pull request #71 from retronym/topic/quasiquote-appliedJason Zaugg2014-04-063-17/+71
|\ | | | | Update to Scala 2.11.0-RC4, adapting to change in quasiquotes
| * Refactoring in ANFTransformJason Zaugg2014-04-051-15/+2
| | | | | | | | | | - simpler means to calculate `applyDepth` - remove unused binder
| * Update to Scala 2.11.0-RC4, adapting to change in quasiquotesJason Zaugg2014-04-053-3/+70
|/ | | | | | | | Namely: https://github.com/scala/scala/pull/3656 I can't find a way to express a QQ that matches an constructor invocation *and* lets me bind a reference to the `New` tree. So I've dropped down to a borrowed version of `TreeInfo#Applied`.
* Merge pull request #70 from retronym/merge/2.10.xJason Zaugg2014-03-270-0/+0
|\ | | | | Merge 2.10.x to master
| * Merge remote-tracking branch 'origin/2.10.x' into merge/2.10.xJason Zaugg2014-03-270-0/+0
|/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | % export MB=$(git merge-base head origin/2.10.x) % git log --oneline --graph $MB..origin/2.10.x * 9b3bbe4 Merge pull request #69 from retronym/backport/ticket/52-lazy-val |\ | * cf19f02 Incorporate pull request feedback | * ee66e08 [backport] Allow lazy vals without await in the initializer |/ * 6808ce4 0.9.1-SNAPSHOT * a37cf65 0.9.0 * 8f9a0b1 Update to Scala 2.10.4 * b489738 0.9.0-SNAPSHOT * 5c83eb1 0.9.0-M6 * be38163 [backport] Test case for "not a class" crasher in live variable * 290c3be Fix substitution in release script message * c3384d8 Update release script for _2.10 tagging convention * e3027b1 Update version in README * 6b344fa 0.9.0-SNAPSHOT * 8fafd79 0.9.0-M5 * d76bd53 only build 2.10.x on this branch % git merge -s ours origin/2.10.x
| * Merge pull request #69 from retronym/backport/ticket/52-lazy-valPhilipp Haller2014-03-274-7/+39
| |\ | | | | | | [backport] Allow lazy vals without await in the initializer
| | * Incorporate pull request feedbackJason Zaugg2014-03-274-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | - remove unneeded `setType(NoType)`, which was leftover from my first attempts to find this bug. - fix typo in error message - optimize imports (cherry picked from commit 5c6ea29966fa80faae13892da50fc68ed1bf9ae7)
| | * [backport] Allow lazy vals without await in the initializerJason Zaugg2014-03-274-8/+45
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were incorrectly typechecking the `ClassDef` of the state machine in the macro in a way that discarded the resulting trees, and only kept around the symbol. The led to the the macro engine retypechecking that node, which somehow led to duplicated lazy val initiaializer `DefDef`-s in the template, which manifest as a `VerifyError`. This commit: - rescues the typechecked `ClassDef` node from the eager typechecking by the macro - loosens the restriction on lazy vals in async blocks. They are still prohibited if they contain an await on the RHS - Adds a test that shows evalution is indeed lazy. (cherry picked from commit cc4587b1985519f7049d0feb0783d8e22c10f792) Conflicts: src/main/scala/scala/async/internal/AsyncAnalysis.scala src/main/scala/scala/async/internal/AsyncTransform.scala
| * 0.9.1-SNAPSHOTJason Zaugg2014-03-212-2/+2
| |
| * 0.9.0v0.9.0_2.10Jason Zaugg2014-03-211-1/+1
| |
| * Update to Scala 2.10.4Jason Zaugg2014-03-211-1/+1
| |
| * 0.9.0-SNAPSHOTJason Zaugg2014-03-122-2/+2
| |
| * 0.9.0-M6v0.9.0-M6_2.10Jason Zaugg2014-03-121-1/+1
| |
| * [backport] Test case for "not a class" crasher in live variableJason Zaugg2014-03-121-0/+28
| | | | | | | | | | | | Works on the 2.10.x branch, so just backprting the test. Cherry picked from 6f6546ebfc26564843621e79d840209a5103d3c8.
| * Fix substitution in release script messageJason Zaugg2014-03-101-2/+2
| |
| * Update release script for _2.10 tagging conventionJason Zaugg2014-03-101-2/+2
| |
| * Update version in READMEJason Zaugg2014-03-101-1/+1
| |
| * 0.9.0-SNAPSHOTJason Zaugg2014-03-101-1/+1
| |
| * 0.9.0-M5v0.9.0-M5_2.10Jason Zaugg2014-03-101-1/+1
| |
| * only build 2.10.x on this branchJason Zaugg2014-03-101-6/+0
| |
* | Merge pull request #67 from retronym/ticket/52-lazy-valPhilipp Haller2014-03-274-7/+42
|\ \ | | | | | | Allow lazy vals without await in the initializer
| * | Incorporate pull request feedbackJason Zaugg2014-03-274-8/+3
| | | | | | | | | | | | | | | | | | | | | - remove unneeded `setType(NoType)`, which was leftover from my first attempts to find this bug. - fix typo in error message - optimize imports
| * | Allow lazy vals without await in the initializerJason Zaugg2014-03-274-8/+48
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were incorrectly typechecking the `ClassDef` of the state machine in the macro in a way that discarded the resulting trees, and only kept around the symbol. The led to the the macro engine retypechecking that node, which somehow led to duplicated lazy val initiaializer `DefDef`-s in the template, which manifest as a `VerifyError`. This commit: - rescues the typechecked `ClassDef` node from the eager typechecking by the macro - loosens the restriction on lazy vals in async blocks. They are still prohibited if they contain an await on the RHS - Adds a test that shows evalution is indeed lazy. Fixes #52
* | 0.9.1-SNAPSHOTJason Zaugg2014-03-211-1/+1
| |
* | 0.9.0v0.9.0_2.11Jason Zaugg2014-03-212-2/+2
| |
* | Scala 2.11.0-RC3Jason Zaugg2014-03-211-1/+1
| |
* | 0.9.0-SNAPSHOTJason Zaugg2014-03-121-1/+1
| |
* | 0.9.0-M6v0.9.0-M6_2.11Jason Zaugg2014-03-122-2/+2
| |
* | Merge pull request #64 from retronym/ticket/63Jason Zaugg2014-03-122-1/+30
|\ \ | | | | | | Fix "not a class" crasher in live variable analysis
| * | Fix "not a class" crasher in live variable analysisJason Zaugg2014-03-122-1/+30
|/ / | | | | | | | | | | Predicate the `asClass` cast with an `isClass` check. Fixes #63
* | 0.9.0-SNAPSHOTJason Zaugg2014-03-102-2/+2
| | | | | | | | And update the latest published version in the README
* | Fix substituion in release scriptJason Zaugg2014-03-101-2/+2
| |
* | 0.9.0-M5v0.9.0-M5_2.11Jason Zaugg2014-03-101-1/+1
| |
* | Update release script, only 2.11 version publised from this branchJason Zaugg2014-03-101-8/+2
| |
* | Update to Scala 2.11.0-RC1Jason Zaugg2014-03-101-1/+1
| |
* | Merge pull request #62 from retronym/topic/2.11.xJason Zaugg2014-02-2119-478/+427
|\ \ | |/ |/| Preparing for Scala 2.11.0
| * Finalize the move to Scala 2.11.xJason Zaugg2014-02-214-14/+8
| | | | | | | | | | | | | | | | - Link to the 2.10.x branch from the README - use `scala.annotation.compileTimeOnly` (from scala-library.jar) - no longer impose a transitive dependency on scala-reflect and scala-compiler. - Update Travis CI configuration to use only 2.11.0-SNAPSHOT
| * AsyncMacro.global is goneEugene Burmako2014-02-159-53/+76
| |
| * AsyncMacro.macroApplication is goneEugene Burmako2014-02-153-6/+4
| |
| * callSiteTyper and TypingTransformers are goneEugene Burmako2014-02-152-13/+1
| |
| * migrates SelectiveAnfTransform to typingTransformEugene Burmako2014-02-151-233/+227
| |
| * oh God, in-place typechecking!!!Eugene Burmako2014-02-151-1/+1
| |
| * migrates UseFields to typingTransformEugene Burmako2014-02-151-26/+20
| |
| * migrates transformAt to typingTransformEugene Burmako2014-02-152-17/+13
| |
| * replaces mkAttributedCastEugene Burmako2014-02-151-2/+3
| |
| * gets rid of home-grown changeOwnerEugene Burmako2014-02-153-29/+11
| |
| * cleans up AnfTransformEugene Burmako2014-02-151-3/+5
| |
| * cleans up AsyncAnalysisEugene Burmako2014-02-151-1/+1
| |
| * cleans up AsyncTransformEugene Burmako2014-02-151-2/+2
| |