diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2011-02-04 18:07:21 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2011-02-04 18:07:21 +0000 |
commit | 5905acc722ffd760996abc2478dda12cced44846 (patch) | |
tree | be4d72f41f02e107223cb8c094effd9e3dbe15e7 | |
parent | 10ef7a4d4b4bf308323f7569f69bdf60f23f1cb8 (diff) | |
download | scala-5905acc722ffd760996abc2478dda12cced44846.tar.gz scala-5905acc722ffd760996abc2478dda12cced44846.tar.bz2 scala-5905acc722ffd760996abc2478dda12cced44846.zip |
Added logging for compileLate, trying to figure...
Added logging for compileLate, trying to figure out strange build
problems in the IDE. no review.
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala b/src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala index 32a1caef85..3536e79a76 100644 --- a/src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala +++ b/src/compiler/scala/tools/nsc/symtab/SymbolLoaders.scala @@ -188,8 +188,10 @@ abstract class SymbolLoaders { for (classRep <- classpath.classes if doLoad(classRep)) { ((classRep.binary, classRep.source) : @unchecked) match { case (Some(bin), Some(src)) if needCompile(bin, src) => + if (settings.verbose.value) inform("[symloader] picked up newer source file for " + src.path) enterToplevelsFromSource(root, classRep.name, src) case (None, Some(src)) => + if (settings.verbose.value) inform("[symloader] no class, picked up source file for " + src.path) enterToplevelsFromSource(root, classRep.name, src) case (Some(bin), _) => enterClassAndModule(root, classRep.name, newClassLoader(bin)) |