aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/scala/async/internal/TransformUtils.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/scala/async/internal/TransformUtils.scala')
-rw-r--r--src/main/scala/scala/async/internal/TransformUtils.scala14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/scala/scala/async/internal/TransformUtils.scala b/src/main/scala/scala/async/internal/TransformUtils.scala
index be56bb7..855cbd2 100644
--- a/src/main/scala/scala/async/internal/TransformUtils.scala
+++ b/src/main/scala/scala/async/internal/TransformUtils.scala
@@ -289,25 +289,25 @@ private[async] trait TransformUtils {
* and `nestedClass` etc are invoked.
*/
trait AsyncTraverser extends Traverser {
- def nestedClass(classDef: ClassDef) {
+ def nestedClass(classDef: ClassDef): Unit = {
}
- def nestedModule(module: ModuleDef) {
+ def nestedModule(module: ModuleDef): Unit = {
}
- def nestedMethod(defdef: DefDef) {
+ def nestedMethod(defdef: DefDef): Unit = {
}
- def byNameArgument(arg: Tree) {
+ def byNameArgument(arg: Tree): Unit = {
}
- def function(function: Function) {
+ def function(function: Function): Unit = {
}
- def patMatFunction(tree: Match) {
+ def patMatFunction(tree: Match): Unit = {
}
- override def traverse(tree: Tree) {
+ override def traverse(tree: Tree): Unit = {
tree match {
case _ if isAsync(tree) =>
// Under -Ymacro-expand:discard, used in the IDE, nested async blocks will be visible to the outer blocks