diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-02-24 14:10:35 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-02-24 14:10:35 +0000 |
commit | 49e8a4eef6d2e650f80f4e4817973102d1ea6335 (patch) | |
tree | 99379a30902e550140768c116ac3dc11f43f1d6a /src | |
parent | b0b63f1901668d0d2acd7de00dd26157f28751f3 (diff) | |
download | scala-49e8a4eef6d2e650f80f4e4817973102d1ea6335.tar.gz scala-49e8a4eef6d2e650f80f4e4817973102d1ea6335.tar.bz2 scala-49e8a4eef6d2e650f80f4e4817973102d1ea6335.zip |
make classpath access lazy. no review
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala b/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala index 0842f6cb54..3ea6342b60 100644 --- a/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala +++ b/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala @@ -33,8 +33,8 @@ class RefinedBuildManager(val settings: Settings) extends Changes with BuildMana super.computeInternalPhases phasesSet += dependencyAnalysis } - - override def classPath: ClassPath[_] = new NoSourcePathPathResolver(settings).result + lazy val _classpath: ClassPath[_] = new NoSourcePathPathResolver(settings).result + override def classPath: ClassPath[_] = _classpath def newRun() = new Run() } |