| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|