diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2010-05-04 09:34:50 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2010-05-04 09:34:50 +0000 |
commit | 37a5c47ac57bb21c46adaf8b67a4704308e2b937 (patch) | |
tree | dc3850f57ac8980853249485ed8b3213872c0fb1 | |
parent | b8e90e8aefba2cf6c65f3e1153b99b81e90f0bee (diff) | |
download | scala-37a5c47ac57bb21c46adaf8b67a4704308e2b937.tar.gz scala-37a5c47ac57bb21c46adaf8b67a4704308e2b937.tar.bz2 scala-37a5c47ac57bb21c46adaf8b67a4704308e2b937.zip |
Removed 4-year old println when getModuleOrClas...
Removed 4-year old println when getModuleOrClass fails. It polluted
debug output when -Ydebug was present because now every (successful)
compiler run hits a few MissingRequirementErrors, quietly swallowed
by getModule2/getClass2. The errors are normal during the transition
to 'scala.collection.immutable.List' and 'scala.Seq/Sequence', while
definitions are built. No review.
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Definitions.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Definitions.scala b/src/compiler/scala/tools/nsc/symtab/Definitions.scala index ed26ebac03..3511565326 100644 --- a/src/compiler/scala/tools/nsc/symtab/Definitions.scala +++ b/src/compiler/scala/tools/nsc/symtab/Definitions.scala @@ -514,7 +514,7 @@ trait Definitions extends reflect.generic.StandardDefinitions { else sym.info.member(fullname.subName(i, j).toTypeName) if (result == NoSymbol) { if (settings.debug.value) - { Console.println(sym.info); Console.println(sym.info.members) }//debug + { log(sym.info); log(sym.info.members) }//debug throw new MissingRequirementError((if (module) "object " else "class ") + fullname) } result |