From 3f035632e37da0c484fcf43310857263e3470433 Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Wed, 9 May 2018 11:12:07 +0900 Subject: fix procedure syntax --- src/test/scala/scala/async/run/nesteddef/NestedDef.scala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/test/scala/scala/async/run/nesteddef/NestedDef.scala') diff --git a/src/test/scala/scala/async/run/nesteddef/NestedDef.scala b/src/test/scala/scala/async/run/nesteddef/NestedDef.scala index 69e741d..d714e52 100644 --- a/src/test/scala/scala/async/run/nesteddef/NestedDef.scala +++ b/src/test/scala/scala/async/run/nesteddef/NestedDef.scala @@ -8,7 +8,7 @@ import scala.async.internal.AsyncId class NestedDef { @Test - def nestedDef() { + def nestedDef(): Unit = { import AsyncId._ val result = async { val a = 0 @@ -23,7 +23,7 @@ class NestedDef { @Test - def nestedFunction() { + def nestedFunction(): Unit = { import AsyncId._ val result = async { val a = 0 @@ -38,7 +38,7 @@ class NestedDef { // We must lift `foo` and `bar` in the next two tests. @Test - def nestedDefTransitive1() { + def nestedDefTransitive1(): Unit = { import AsyncId._ val result = async { val a = 0 @@ -51,7 +51,7 @@ class NestedDef { } @Test - def nestedDefTransitive2() { + def nestedDefTransitive2(): Unit = { import AsyncId._ val result = async { val a = 0 @@ -66,7 +66,7 @@ class NestedDef { // checking that our use/definition analysis doesn't cycle. @Test - def mutuallyRecursive1() { + def mutuallyRecursive1(): Unit = { import AsyncId._ val result = async { val a = 0 @@ -80,7 +80,7 @@ class NestedDef { // checking that our use/definition analysis doesn't cycle. @Test - def mutuallyRecursive2() { + def mutuallyRecursive2(): Unit = { import AsyncId._ val result = async { val a = 0 -- cgit v1.2.3