Dropped index from DeserializedSourceFile as it is no longer needed
This commit is contained in:
committed by
alexander-gorshenev
parent
e7ef453d22
commit
369d9bfdab
+1
-1
@@ -56,7 +56,7 @@ val ModuleDescriptor.isForwardDeclarationModule get() =
|
||||
private fun sourceByIndex(descriptor: CallableMemberDescriptor, index: Int): SourceFile {
|
||||
val fragment = descriptor.findPackage() as KlibMetadataDeserializedPackageFragment
|
||||
val fileName = fragment.proto.strings.stringList[index]
|
||||
return DeserializedSourceFile(fileName, index, descriptor.module.kotlinLibrary)
|
||||
return DeserializedSourceFile(fileName, descriptor.module.kotlinLibrary)
|
||||
}
|
||||
|
||||
fun CallableMemberDescriptor.findSourceFile(): SourceFile {
|
||||
|
||||
Reference in New Issue
Block a user