File tree 3 files changed +3
-1
lines changed
src/compiler/scala/tools/nsc/backend/jvm 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ trait BCodeHelpers extends BCodeIdiomatic with BytecodeWriters {
394
394
debuglog(s " Potentially conflicting names for forwarders: $conflictingNames" )
395
395
396
396
for (m <- moduleClass.info.membersBasedOnFlags(ExcludedForwarderFlags , Flag_METHOD )) {
397
- if (m.isType || m.isDeferred || (m.owner eq ObjectClass ) || m.isConstructor)
397
+ if (m.isType || m.isDeferred || (m.owner eq ObjectClass ) || m.isConstructor || m.isExpanded )
398
398
debuglog(s " No forwarder for ' $m' from $jclassName to ' $moduleClass' " )
399
399
else if (conflictingNames(m.name))
400
400
log(s " No forwarder for $m due to conflict with ${linkedClass.info.member(m.name)}" )
Original file line number Diff line number Diff line change @@ -445,6 +445,7 @@ abstract class BackendInterface extends BackendInterfaceDefinitions {
445
445
def isType : Boolean
446
446
def isAnonymousClass : Boolean
447
447
def isConstructor : Boolean
448
+ def isExpanded : Boolean
448
449
def isAnonymousFunction : Boolean
449
450
def isMethod : Boolean
450
451
def isPublic : Boolean
Original file line number Diff line number Diff line change @@ -466,6 +466,7 @@ class ScalacBackendInterface[G <: Global](val global: G) extends BackendInterfac
466
466
def isType : Boolean = sym.isType
467
467
def isAnonymousClass : Boolean = sym.isAnonymousClass
468
468
def isConstructor : Boolean = sym.isConstructor
469
+ def isExpanded : Boolean = sym.hasFlag(Flags .EXPANDEDNAME )
469
470
def isAnonymousFunction : Boolean = sym.isAnonymousFunction
470
471
def isMethod : Boolean = sym.isMethod
471
472
def isPublic : Boolean = sym.isPublic
You can’t perform that action at this time.
0 commit comments