File tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/core/classfile
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -682,7 +682,7 @@ class ClassfileParser(
682
682
case tpnme.DeprecatedATTR =>
683
683
val msg = Literal (Constant (" see corresponding Javadoc for more information." ))
684
684
val since = Literal (Constant (" " ))
685
- sym.addAnnotation(Annotation (defn.DeprecatedAnnot , msg, since))
685
+ delayedWork ::= sym.addAnnotation(Annotation (defn.DeprecatedAnnot , msg, since))
686
686
687
687
case tpnme.ConstantValueATTR =>
688
688
val c = pool.getConstant(in.nextChar)
@@ -709,7 +709,7 @@ class ClassfileParser(
709
709
case tpnme.CodeATTR =>
710
710
in.skip(attrLen)
711
711
// flag test will trigger completion and cycles, thus have to be lazy
712
- delayedWork ::= { ( using ctx) =>
712
+ delayedWork ::= {
713
713
if (sym.owner.isAllOf(Flags .JavaInterface )) {
714
714
sym.resetFlag(Flags .Deferred )
715
715
sym.owner.resetFlag(Flags .PureInterface )
You can’t perform that action at this time.
0 commit comments