summaryrefslogtreecommitdiff
path: root/test/files/run/lazy-leaks.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-08 06:56:21 +0000
committerPaul Phillips <paulp@improving.org>2011-08-08 06:56:21 +0000
commit8b28292b5379a34fad0599335116b9e54ee44e20 (patch)
tree654c93a14a26e802948aa80664efb7aea7b448d3 /test/files/run/lazy-leaks.scala
parentbe31934db38a93468b6390e783ca377da6283c19 (diff)
downloadscala-8b28292b5379a34fad0599335116b9e54ee44e20.tar.gz
scala-8b28292b5379a34fad0599335116b9e54ee44e20.tar.bz2
scala-8b28292b5379a34fad0599335116b9e54ee44e20.zip
Fixing all the tests and source which still use...
Fixing all the tests and source which still use the old for comprehension syntax with vals where there are no vals and no vals where there are vals. No review.
Diffstat (limited to 'test/files/run/lazy-leaks.scala')
-rw-r--r--test/files/run/lazy-leaks.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/lazy-leaks.scala b/test/files/run/lazy-leaks.scala
index e3db55aa09..22a3770d07 100644
--- a/test/files/run/lazy-leaks.scala
+++ b/test/files/run/lazy-leaks.scala
@@ -9,7 +9,7 @@ object Test extends App
// This test requires 4 Mb of RAM if Lazy is discarding thunks
// It consumes 4 Gb of RAM if Lazy is not discarding thunks
- for (val idx <- Iterator.range(0, 1024)) {
+ for (idx <- Iterator.range(0, 1024)) {
val data = new Array[Int](1024*1024)
val lz: Lazy = new Lazy(data.length)
buffer += lz