diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-02-09 17:35:33 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2011-02-09 17:35:33 +0000 |
commit | 160b82a7dddeea2c3d2d990f01fb25f1ec7711e5 (patch) | |
tree | 4bc89be04d8e0aa8a94391710547f49f1fb28d4c | |
parent | 47bea31877a637c3c0510b6fc714a273ee8d9b64 (diff) | |
download | scala-160b82a7dddeea2c3d2d990f01fb25f1ec7711e5.tar.gz scala-160b82a7dddeea2c3d2d990f01fb25f1ec7711e5.tar.bz2 scala-160b82a7dddeea2c3d2d990f01fb25f1ec7711e5.zip |
cleanup.no review
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/BuildManager.scala | 2 | ||||
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/BuildManager.scala b/src/compiler/scala/tools/nsc/interactive/BuildManager.scala index 2827d97ae2..adb00fe745 100644 --- a/src/compiler/scala/tools/nsc/interactive/BuildManager.scala +++ b/src/compiler/scala/tools/nsc/interactive/BuildManager.scala @@ -31,8 +31,6 @@ trait BuildManager { /** Save dependency information to `file'. */ def saveTo(file: AbstractFile, fromFile: AbstractFile => String) - def compiler: scala.tools.nsc.Global - /** Delete classfiles derived from the supplied set of sources */ def deleteClassfiles(sources : Set[AbstractFile]) { val targets = compiler.dependencyAnalysis.dependencies.targets diff --git a/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala b/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala index 8ef7310378..bfd0328cd7 100644 --- a/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala +++ b/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala @@ -116,8 +116,10 @@ class RefinedBuildManager(val settings: Settings) extends Changes with BuildMana def update0(files: Set[AbstractFile]): Unit = if (!files.isEmpty) { deleteClassfiles(files) val run = compiler.newRun() - if (settings.Ybuildmanagerdebug.value) + if (settings.Ybuildmanagerdebug.value) { + compiler.inform("classpath used: " + compiler.settings.classpath) compiler.inform("compiling " + toStringSet(files)) + } buildingFiles(files) run.compileFiles(files.toList) |