Skip to content

Commit 68407fa

Browse files
committed
Annotations have JavaSeqLiterals inside.
1 parent 4eb31a6 commit 68407fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/pickling/ClassfileParser.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ class ClassfileParser(
422422
case None => hasError = true
423423
}
424424
if (hasError) None
425-
else if (skip) None else Some(SeqLiteral(arr.toList))
425+
else if (skip) None else Some(JavaSeqLiteral(arr.toList))
426426
case ANNOTATION_TAG =>
427427
parseAnnotation(index, skip) map (_.tree)
428428
}

0 commit comments

Comments
 (0)