summaryrefslogtreecommitdiff
path: root/src/reflect/scala/reflect/internal/pickling/UnPickler.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-09-14 16:04:02 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-09-15 00:55:45 +0200
commit4767fc21c6f9c8266ba98505c6a5ea2c95107e65 (patch)
treee47c4da5657739fec126ce6ff5c79cb07de2abcb /src/reflect/scala/reflect/internal/pickling/UnPickler.scala
parent210f8c8f108aaf650a5be640c4db0d2336193f33 (diff)
downloadscala-4767fc21c6f9c8266ba98505c6a5ea2c95107e65.tar.gz
scala-4767fc21c6f9c8266ba98505c6a5ea2c95107e65.tar.bz2
scala-4767fc21c6f9c8266ba98505c6a5ea2c95107e65.zip
SI-6360 revises naming of AnnotationInfo and its members
Internal face of AnnotationInfos is bound by backward compatibility with compiler plugins and possibly SBT, but the public face can be shaped in whatever fashion we like. Hence I cleaned up the names: AnnotationInfo itself got renamed to just Annotation, AnnotArgs got renamed to just Arguments and so on.
Diffstat (limited to 'src/reflect/scala/reflect/internal/pickling/UnPickler.scala')
-rw-r--r--src/reflect/scala/reflect/internal/pickling/UnPickler.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/scala/reflect/internal/pickling/UnPickler.scala b/src/reflect/scala/reflect/internal/pickling/UnPickler.scala
index 1dae6e70b7..a9994a037f 100644
--- a/src/reflect/scala/reflect/internal/pickling/UnPickler.scala
+++ b/src/reflect/scala/reflect/internal/pickling/UnPickler.scala
@@ -446,7 +446,7 @@ abstract class UnPickler /*extends scala.reflect.generic.UnPickler*/ {
private def readArrayAnnot() = {
readByte() // skip the `annotargarray` tag
val end = readNat() + readIndex
- until(end, () => readClassfileAnnotArg(readNat())).toArray(ClassfileAnnotArgTag)
+ until(end, () => readClassfileAnnotArg(readNat())).toArray(JavaArgumentTag)
}
protected def readClassfileAnnotArg(i: Int): ClassfileAnnotArg = bytes(index(i)) match {
case ANNOTINFO => NestedAnnotArg(at(i, readAnnotation))