diff options
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/scala/async/AnfTransform.scala | 2 | ||||
-rw-r--r-- | src/main/scala/scala/async/AsyncAnalysis.scala | 2 | ||||
-rw-r--r-- | src/main/scala/scala/async/ExprBuilder.scala | 2 | ||||
-rw-r--r-- | src/main/scala/scala/async/TransformUtils.scala | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/main/scala/scala/async/AnfTransform.scala b/src/main/scala/scala/async/AnfTransform.scala index 0836634..5effa8f 100644 --- a/src/main/scala/scala/async/AnfTransform.scala +++ b/src/main/scala/scala/async/AnfTransform.scala @@ -7,7 +7,7 @@ package scala.async import scala.reflect.macros.Context -private[async] final case class AnfTransform[C <: Context](val c: C) { +private[async] final case class AnfTransform[C <: Context](c: C) { import c.universe._ val utils = TransformUtils[c.type](c) diff --git a/src/main/scala/scala/async/AsyncAnalysis.scala b/src/main/scala/scala/async/AsyncAnalysis.scala index 4f5bf8d..0394e4a 100644 --- a/src/main/scala/scala/async/AsyncAnalysis.scala +++ b/src/main/scala/scala/async/AsyncAnalysis.scala @@ -7,7 +7,7 @@ package scala.async import scala.reflect.macros.Context import collection.mutable -private[async] final case class AsyncAnalysis[C <: Context](val c: C) { +private[async] final case class AsyncAnalysis[C <: Context](c: C) { import c.universe._ val utils = TransformUtils[c.type](c) diff --git a/src/main/scala/scala/async/ExprBuilder.scala b/src/main/scala/scala/async/ExprBuilder.scala index 5ae01f9..d9faad5 100644 --- a/src/main/scala/scala/async/ExprBuilder.scala +++ b/src/main/scala/scala/async/ExprBuilder.scala @@ -10,7 +10,7 @@ import collection.mutable /* * @author Philipp Haller */ -private[async] final case class ExprBuilder[C <: Context, FS <: FutureSystem](val c: C, val futureSystem: FS) { +private[async] final case class ExprBuilder[C <: Context, FS <: FutureSystem](c: C, futureSystem: FS) { builder => val utils = TransformUtils[c.type](c) diff --git a/src/main/scala/scala/async/TransformUtils.scala b/src/main/scala/scala/async/TransformUtils.scala index 8838bb3..7b2f135 100644 --- a/src/main/scala/scala/async/TransformUtils.scala +++ b/src/main/scala/scala/async/TransformUtils.scala @@ -9,7 +9,7 @@ import reflect.ClassTag /** * Utilities used in both `ExprBuilder` and `AnfTransform`. */ -private[async] final case class TransformUtils[C <: Context](val c: C) { +private[async] final case class TransformUtils[C <: Context](c: C) { import c.universe._ |