diff options
Diffstat (limited to 'test/files/continuations-run/ifelse1.scala')
-rw-r--r-- | test/files/continuations-run/ifelse1.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/continuations-run/ifelse1.scala b/test/files/continuations-run/ifelse1.scala index 2ccc1ed730..c624b84b75 100644 --- a/test/files/continuations-run/ifelse1.scala +++ b/test/files/continuations-run/ifelse1.scala @@ -4,12 +4,12 @@ import scala.util.continuations._ object Test { - + def test1(x:Int) = if (x <= 7) shift { k: (Int=>Int) => k(k(k(x))) } else x - + def test2(x:Int) = if (x <= 7) x else @@ -21,5 +21,5 @@ object Test { println(reset(1 + test2(7))) println(reset(1 + test2(8))) } - + }
\ No newline at end of file |