Kotlin: KotlinSourceFileExtractor: Take filePath rather than file

This commit is contained in:
Ian Lynagh
2022-01-13 16:05:52 +00:00
parent 8e31bd8ec7
commit d43efd4cc7
5 changed files with 10 additions and 10 deletions

View File

@@ -2513,7 +2513,7 @@ open class KotlinFileExtractor(
}
if (parent is IrFile) {
if (this is KotlinSourceFileExtractor && this.file == parent) {
if (this is KotlinSourceFileExtractor && this.filePath == parent.path) {
val fileId = extractFileClass(parent)
tw.writeEnclInReftype(id, fileId)
} else {