diff options
author | Martin Odersky <odersky@gmail.com> | 2007-03-06 17:43:03 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2007-03-06 17:43:03 +0000 |
commit | 4ba667134f2a190087675c625fa9d91607fe3231 (patch) | |
tree | fcc9c8b09d6fbefc550eb834158b5e6ff3bec1d5 /src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala | |
parent | 70e2162afee52f9e52e652e55a5ab3bbdc550214 (diff) | |
download | scala-4ba667134f2a190087675c625fa9d91607fe3231.tar.gz scala-4ba667134f2a190087675c625fa9d91607fe3231.tar.bz2 scala-4ba667134f2a190087675c625fa9d91607fe3231.zip |
modified annotated types scheme
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala index 4022c475d2..319ea13a35 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala @@ -651,7 +651,7 @@ abstract class ClassfileParser { } case nme.AnnotationDefaultATTR => sym.attributes = - AttrInfo(definitions.AnnotationDefaultAttr.tpe, List(), List()) :: sym.attributes + AnnotationInfo(definitions.AnnotationDefaultAttr.tpe, List(), List()) :: sym.attributes in.skip(attrLen) case nme.RuntimeAnnotationATTR => parseAnnotations(attrLen) @@ -702,7 +702,7 @@ abstract class ClassfileParser { val name = pool.getName(in.nextChar) nvpairs += (name, parseTaggedConstant) } - sym.attributes = AttrInfo(attrType, List(), nvpairs.toList) :: sym.attributes + sym.attributes = AnnotationInfo(attrType, List(), nvpairs.toList) :: sym.attributes } } |