summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-11-23 03:11:53 +0000
committerPaul Phillips <paulp@improving.org>2011-11-23 03:11:53 +0000
commit25ecde037f22ff92df5459aaa5360a9760f1f05f (patch)
tree732a46084b7ba949396a6176d6ee1f087ddfadc2 /src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
parentb93c4a9f97c247f80dd222e1a4855165b6daea60 (diff)
downloadscala-25ecde037f22ff92df5459aaa5360a9760f1f05f.tar.gz
scala-25ecde037f22ff92df5459aaa5360a9760f1f05f.tar.bz2
scala-25ecde037f22ff92df5459aaa5360a9760f1f05f.zip
Reworked AnnotationInfo patch.
Took a more ambitious swing based on input from martin. Eliminated the external map and gave annotations a more useful inheritance hierarchy. Eliminated AnnotationInfoBase and made LazyAnnotationInfo an AnnotationInfo (just like LazyType is a Type.) Review by odersky.
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
index 7dc9b25015..ef1bcdd739 100644
--- a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
+++ b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
@@ -905,10 +905,7 @@ abstract class ClassfileParser {
case None =>
throw new RuntimeException("Scala class file does not contain Scala annotation")
}
- debuglog("[class] << " + sym.fullName + (
- if (sym.rawAnnotations.isEmpty) ""
- else sym.rawAnnotations.mkString("(", ", ", ")"))
- )
+ debuglog("[class] << " + sym.fullName + sym.annotationsString)
}
else
in.skip(attrLen)