diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2018-05-09 13:08:39 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-09 13:08:39 +1000 |
commit | e04aa84ed4b9b9340d104d386e449da702b99e16 (patch) | |
tree | b0987e20a4d3a5d85ff94a1bb552b4e062f471d7 /src/test/scala/scala/async/run/nesteddef/NestedDef.scala | |
parent | 9de808535a546c49a04bd50c93212425f3344ba9 (diff) | |
parent | 3f035632e37da0c484fcf43310857263e3470433 (diff) | |
download | scala-async-e04aa84ed4b9b9340d104d386e449da702b99e16.tar.gz scala-async-e04aa84ed4b9b9340d104d386e449da702b99e16.tar.bz2 scala-async-e04aa84ed4b9b9340d104d386e449da702b99e16.zip |
Merge pull request #199 from xuwei-k/procedure-syntax
fix procedure syntax
Diffstat (limited to 'src/test/scala/scala/async/run/nesteddef/NestedDef.scala')
-rw-r--r-- | src/test/scala/scala/async/run/nesteddef/NestedDef.scala | 12 |
1 files changed, 6 insertions, 6 deletions
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 |