From 50ddd485af112104f20ac37f458c307c688aec08 Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Sun, 13 May 2012 22:38:00 -0400 Subject: [PATCH] add a missing 'lazy' --- compile/interface/CompilerInterface.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile/interface/CompilerInterface.scala b/compile/interface/CompilerInterface.scala index 282c64631..f422f4343 100644 --- a/compile/interface/CompilerInterface.scala +++ b/compile/interface/CompilerInterface.scala @@ -173,7 +173,7 @@ private final class CachedCompiler0(args: Array[String], initialLog: WeakLog) ex reporter = null } - private[this] val ScalaObjectClass = { + private[this] lazy val ScalaObjectClass = { // ScalaObject removed in 2.10, so alias it to Object implicit def compat(a: AnyRef): CompatScalaObject = new CompatScalaObject class CompatScalaObject { def ScalaObjectClass = definitions.ObjectClass }