diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-11-17 16:31:44 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-11-22 20:10:22 +0100 |
commit | 3bb70e8620e48a4eace118cc05006ab83a112682 (patch) | |
tree | a7391f36643c1e44d34bfb271f3f4e5a09468c65 /src | |
parent | e2c5fcdf97e351e471e79502aa7d23bd973241ab (diff) | |
download | dotty-3bb70e8620e48a4eace118cc05006ab83a112682.tar.gz dotty-3bb70e8620e48a4eace118cc05006ab83a112682.tar.bz2 dotty-3bb70e8620e48a4eace118cc05006ab83a112682.zip |
Annotations have JavaSeqLiterals inside.
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/ClassfileParser.scala | 2 |
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) } |