Minor, rename PackagePartSource -> BinarySource
This commit is contained in:
@@ -125,7 +125,7 @@ internal sealed class JvmPropertySignature {
|
||||
return "$" + JvmAbi.sanitizeAsJavaIdentifier(moduleName)
|
||||
}
|
||||
if (descriptor.visibility == Visibilities.PRIVATE && containingDeclaration is PackageFragmentDescriptor) {
|
||||
val packagePartSource = (descriptor as DeserializedPropertyDescriptor).packagePartSource
|
||||
val packagePartSource = (descriptor as DeserializedPropertyDescriptor).containerSource
|
||||
if (packagePartSource is JvmPackagePartSource && packagePartSource.facadeClassName != null) {
|
||||
return "$" + packagePartSource.simpleName.asString()
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ fun <R> Function<R>.reflect(): KFunction<R>? {
|
||||
val moduleData = javaClass.getOrCreateModule()
|
||||
val context = DeserializationContext(
|
||||
moduleData.deserialization, nameResolver, moduleData.module,
|
||||
typeTable = TypeTable(proto.typeTable), packagePartSource = null, parentTypeDeserializer = null, typeParameters = listOf()
|
||||
typeTable = TypeTable(proto.typeTable), containerSource = null, parentTypeDeserializer = null, typeParameters = listOf()
|
||||
)
|
||||
val descriptor = MemberDeserializer(context).loadFunction(proto)
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
|
||||
Reference in New Issue
Block a user