summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/symtab/AnnotationInfos.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/AnnotationInfos.scala b/src/compiler/scala/tools/nsc/symtab/AnnotationInfos.scala
index 97667a5dc3..8b36ad819f 100644
--- a/src/compiler/scala/tools/nsc/symtab/AnnotationInfos.scala
+++ b/src/compiler/scala/tools/nsc/symtab/AnnotationInfos.scala
@@ -113,8 +113,6 @@ trait AnnotationInfos {
{
def this(cons: Constant) = this(cons2refltree(cons))
-//println("tree is: " + tree)
-
val constant: Option[Constant] = refltree2cons(tree)
def isConstant = !constant.isEmpty
@@ -122,7 +120,7 @@ trait AnnotationInfos {
override def toString: String =
constant match {
case Some(cons) => cons.escapedStringValue
- case None => tree.toString
+ case None => reflect.Print(tree)
}
}