We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 358602e commit 65a75dfCopy full SHA for 65a75df
compiler/src/dotty/tools/dotc/core/classfile/ClassfileParser.scala
@@ -681,7 +681,9 @@ class ClassfileParser(
681
case tpnme.DeprecatedATTR =>
682
val msg = Literal(Constant("see corresponding Javadoc for more information."))
683
val since = Literal(Constant(""))
684
- res.annotations ::= Annotation(defn.DeprecatedAnnot, msg, since)
+ res.annotations ::= Annotation.deferredSymAndTree(defn.DeprecatedAnnot) {
685
+ New(defn.DeprecatedAnnot.typeRef, msg :: since :: Nil)
686
+ }
687
688
case tpnme.ConstantValueATTR =>
689
val c = pool.getConstant(in.nextChar)
0 commit comments