summaryrefslogtreecommitdiff
path: root/test/files/run/t603.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t603.scala')
-rw-r--r--test/files/run/t603.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/t603.scala b/test/files/run/t603.scala
index b8825c933b..54fb8e6974 100644
--- a/test/files/run/t603.scala
+++ b/test/files/run/t603.scala
@@ -1,4 +1,6 @@
object forceDelay {
+ import scala.language.implicitConversions
+
class Susp[+A](lazyValue: => A) extends Function0[A] {
private var func: () => Any = () => lazyValue
private var value: Any = null