diff options
author | Paul Phillips <paulp@improving.org> | 2011-11-23 03:11:53 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-11-23 03:11:53 +0000 |
commit | 25ecde037f22ff92df5459aaa5360a9760f1f05f (patch) | |
tree | 732a46084b7ba949396a6176d6ee1f087ddfadc2 /src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala | |
parent | b93c4a9f97c247f80dd222e1a4855165b6daea60 (diff) | |
download | scala-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.scala | 5 |
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) |