| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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`.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
And update the latest published version in the README
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Remove the CPS fallback version of async. That was not intended
to be part of 1.0.
- Lookup the await method beside the macro, rather than requiring
all calls to go to AsyncBase.await.
- Create a minimal version of Async that just contains await/async
and delegates to the macro implementation in internal._
- Add scaladoc.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- move to maven group org.scala-lang.modules / scala-async
- add config to publish to sonatype OSS
- generate a scala-async.properties files (ala the scala-parser-combinators build)
|
|
|
|
|
|
|
|
|
| |
... in code that would otherwise have smuggled through these
slack LUBs in the types of trees but never in a TypeTree.
More details in SI-7694.
Fixes #29
|
|
|
|
|
| |
SBT's scalaHome handling doesn't pick up the local continuations
plugin.
|
|
|
|
|
|
|
| |
Which correctly substitutes scala-reflect.jar when using scalaHome
to test out the plugin with a local version of Scala.
Also updates to a released version of the junit-interface SBT TestFramework.
|
|
|
|
|
|
|
|
|
| |
- Make sure all trees are positioned
- Mark range positions for synthetic code as transparent to allow
some wiggle room for overlapping ranges.
Enables -Yrangepos for our test suite. We can't add it for
the entire build until the fix for SI-7649 lands in the compiler.
|
|
|
|
|
|
|
|
|
|
|
| |
- Update to SBT 0.12.4
- Update to Scala 2.10.2
- Provide a means to disable test compilation (other then TreeInterrogation)
This is handy when doing major renovations to the macro implementation.
- Explicitly depend on scala-compiler (we'll need that in the next commit)
- Declare the dependencies on scala-{reflect, compiler} as "provided" to avoid
adding them the runtime classpath of upstream projects. They are only needed
at compile time.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid suprises in tree retyping, the instance of this
class is immediately upcase to
StateMachine[Promise[T], ExecContext].
Allow nested non-case classes. These pop up when
we use nested async calls.
Only look for duplicate names in the subtrees
traversed by AsyncTraverser.
|
|
|
|
|
|
|
|
| |
Prepend {(); ... } before starting the ANF transform.
Add tracing to the anf/inline transform.
Also enables and addresses SIP-18 warnings.
|
|
|
|
| |
Due to a suspected bug in JUnit SBT integration.
|
| |
|
|
|
|
| |
So you know that something is happening...
|
|
|
|
|
|
|
| |
- Enable continuations plugin
- Fill in project metadata
- Enable stricter compiler options
- satisfy -Xlint with some empty parens.
|
|
|
|
|
|
| |
- Convert tests to use JUnit
- For the 'run' tests, just use plain-old-test-cases
- Add a sample 'neg' test to use ToolBoxes to compile code snippets on the fly.
|
|
Doesn't execute tests yet.
|