aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2014-11-17 16:31:44 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-11-22 20:10:22 +0100
commit3bb70e8620e48a4eace118cc05006ab83a112682 (patch)
treea7391f36643c1e44d34bfb271f3f4e5a09468c65 /src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
parente2c5fcdf97e351e471e79502aa7d23bd973241ab (diff)
downloaddotty-3bb70e8620e48a4eace118cc05006ab83a112682.tar.gz
dotty-3bb70e8620e48a4eace118cc05006ab83a112682.tar.bz2
dotty-3bb70e8620e48a4eace118cc05006ab83a112682.zip
Annotations have JavaSeqLiterals inside.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/ClassfileParser.scala')
-rw-r--r--src/dotty/tools/dotc/core/pickling/ClassfileParser.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
index 8bf84e1a9..f92573d22 100644
--- a/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
+++ b/src/dotty/tools/dotc/core/pickling/ClassfileParser.scala
@@ -422,7 +422,7 @@ class ClassfileParser(
case None => hasError = true
}
if (hasError) None
- else if (skip) None else Some(SeqLiteral(arr.toList))
+ else if (skip) None else Some(JavaSeqLiteral(arr.toList))
case ANNOTATION_TAG =>
parseAnnotation(index, skip) map (_.tree)
}