From 3bb70e8620e48a4eace118cc05006ab83a112682 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Mon, 17 Nov 2014 16:31:44 +0100 Subject: Annotations have JavaSeqLiterals inside. --- src/dotty/tools/dotc/core/pickling/ClassfileParser.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/core/pickling/ClassfileParser.scala') 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) } -- cgit v1.2.3