From b4b91dcb58b5804f7ec1513e8f4d1e4534fd8018 Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Wed, 27 Jun 2007 14:26:47 +0000 Subject: Merged lazy values branch to trunk. --- test/files/run/bug603.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/files/run/bug603.scala') diff --git a/test/files/run/bug603.scala b/test/files/run/bug603.scala index c1e0aace12..361cef1f41 100644 --- a/test/files/run/bug603.scala +++ b/test/files/run/bug603.scala @@ -1,4 +1,4 @@ -object lazy { +object forceDelay { class Susp[+A](lazyValue: => A) extends Function0[A] { private var func: () => Any = () => lazyValue private var value: Any = null @@ -21,7 +21,7 @@ object lazy { } object Test { - import lazy._ + import forceDelay._ def main(args: Array[String]) = { val s: Susp[Int] = delay { Console.println("evaluating..."); 3 } -- cgit v1.2.3