summaryrefslogtreecommitdiff
path: root/test/files/run/t153.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t153.scala')
-rw-r--r--test/files/run/t153.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t153.scala b/test/files/run/t153.scala
index 82492fdbe6..3fdb423865 100644
--- a/test/files/run/t153.scala
+++ b/test/files/run/t153.scala
@@ -1,5 +1,5 @@
object Test extends App {
def powers(x: Int) = if ((x&(x-1))==0) Some(x) else None
val res = (Stream.range(1, 500000) flatMap powers).reverse
- println(res take 42 force)
+ println((res take 42).force)
}