[FIR2IR] Do not compose signature for local class members
This commit is contained in:
+1
@@ -81,6 +81,7 @@ class FirBasedSignatureComposer(private val mangler: FirMangler) : Fir2IrSignatu
|
|||||||
}
|
}
|
||||||
declaration is FirCallableMemberDeclaration<*> -> {
|
declaration is FirCallableMemberDeclaration<*> -> {
|
||||||
val callableId = declaration.symbol.callableId
|
val callableId = declaration.symbol.callableId
|
||||||
|
if (callableId.classId?.isLocal == true) return null
|
||||||
IdSignature.PublicSignature(
|
IdSignature.PublicSignature(
|
||||||
callableId.packageName.asString(), callableId.relativeCallableName.asString(), builder.hashId, builder.mask
|
callableId.packageName.asString(), callableId.relativeCallableName.asString(), builder.hashId, builder.mask
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user