summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2007-06-29 11:48:08 +0000
committerIulian Dragos <jaguarul@gmail.com>2007-06-29 11:48:08 +0000
commitecc878bb2692ea34cdd123a29dade28ea16f2e7b (patch)
treeccc4ae0c17e28a42a26443ac0cd6a9e44e273875 /src/compiler/scala/tools/nsc/Global.scala
parent97664fd90f9117893f6684cf3c5b0305f4170fba (diff)
downloadscala-ecc878bb2692ea34cdd123a29dade28ea16f2e7b.tar.gz
scala-ecc878bb2692ea34cdd123a29dade28ea16f2e7b.tar.bz2
scala-ecc878bb2692ea34cdd123a29dade28ea16f2e7b.zip
Modified definitions to take advantage of the n...
Modified definitions to take advantage of the new lazy fields.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 07421f02d4..4cf6055bb3 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -184,9 +184,9 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
new SourceReader(charset.newDecoder())
}
- val classPath0 = new ClassPath(false && onlyPresentation)
+ lazy val classPath0 = new ClassPath(false && onlyPresentation)
- val classPath =
+ lazy val classPath =
if (forMSIL)
new classPath0.Build(settings.sourcepath.value, settings.outdir.value)
else