File tree 1 file changed +2
-2
lines changed
src/dotty/tools/backend/jvm
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -622,8 +622,8 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{
622
622
def isSynchronized : Boolean = sym is Flags .Synchronized
623
623
def isNonBottomSubClass (other : Symbol ): Boolean = sym.derivesFrom(other)
624
624
def hasAnnotation (ann : Symbol ): Boolean = toDenot(sym).hasAnnotation(ann)
625
- def shouldEmitForwarders : Boolean = // exitingPickler { !(sym.name.toString contains '$')
626
- (sym is Flags .Module ) && ! (sym is Flags .ImplClass ) // / ! sym.isNestedClass
625
+ def shouldEmitForwarders : Boolean =
626
+ (sym is Flags .Module ) && ! (sym is Flags .ImplClass ) && sym.isStatic
627
627
def isJavaEntryPoint : Boolean = CollectEntryPoints .isJavaEntryPoint(sym)
628
628
629
629
def isClassConstructor : Boolean = toDenot(sym).isClassConstructor
You can’t perform that action at this time.
0 commit comments