Skip to content

Commit 95077b3

Browse files
committed
1. removed debug output from AsyncApply.impl
2. use publicy available version of scala-async
1 parent 5c8ea08 commit 95077b3

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ scalacOptions ++= Seq("-unchecked","-deprecation", "-feature" /* , "-Ymacro-deb
1313

1414
libraryDependencies <+= scalaVersion( "org.scala-lang" % "scala-reflect" % _ )
1515

16-
//libraryDependencies += "org.scala-lang.modules" %% "scala-async" % "0.9.6-RC2"
17-
libraryDependencies += "org.scala-lang.modules" %% "scala-async" % "0.9.6-SNAPSHOT"
16+
libraryDependencies += "org.scala-lang.modules" %% "scala-async" % "0.9.6-RC2"
17+
//libraryDependencies += "org.scala-lang.modules" %% "scala-async" % "0.9.6-SNAPSHOT"
1818

1919
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.6" % "test"
2020

src/main/scala/gopher/goasync/AsyncApply.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ object AsyncApply
2121
import c.universe._
2222
val nhof = transformHof[A,B,C](c)(hof.tree)
2323
val retval = c.Expr[Future[C]](q"${nhof}(${nf})")
24-
System.err.println("retval:"+retval)
2524
retval
2625
}
2726

src/main/scala/gopher/goasync/GoAsync.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ object GoAsync
182182
else {
183183
tree match {
184184
case q"(scala.async.Async.await[${w}]($r)):${w1}"=>
185-
System.err.println(s"found await: [${w}](${r})")
186185
found = true
187186
// here we erase 'await' symbols
188187
//q"(scala.async.Async.await[${w}]($r)):${w1}"

0 commit comments

Comments
 (0)