diff options
author | Martin Odersky <odersky@gmail.com> | 2010-12-17 16:36:05 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2010-12-17 16:36:05 +0000 |
commit | 9cbadc4d7cb11a303e500cc47af9e050b5adb96d (patch) | |
tree | c280748b43d8d93eca4e709c044a62787989be47 /test/files/run | |
parent | c123fe5e02ce3f805a75d046f678ab1623dc3e8a (diff) | |
download | scala-9cbadc4d7cb11a303e500cc47af9e050b5adb96d.tar.gz scala-9cbadc4d7cb11a303e500cc47af9e050b5adb96d.tar.bz2 scala-9cbadc4d7cb11a303e500cc47af9e050b5adb96d.zip |
Application now uses delayedInit.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/lazy-locals.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/lazy-locals.scala b/test/files/run/lazy-locals.scala index be738a0f70..15e02dbaf0 100644 --- a/test/files/run/lazy-locals.scala +++ b/test/files/run/lazy-locals.scala @@ -162,7 +162,7 @@ object Test extends Application { } // see #1589 - object NestedLazyVals extends Application { + object NestedLazyVals { lazy val x = { lazy val y = { println("forcing y"); 42; } println("forcing x") @@ -179,7 +179,7 @@ object Test extends Application { lazy val x = { lazy val y = 42; y } } - object ONestedLazyVals extends Application with TNestedLazyVals { + object ONestedLazyVals extends TNestedLazyVals { println(x) } |