Kotlin: Small refactorings

This commit is contained in:
Ian Lynagh
2022-01-13 16:48:17 +00:00
parent e1cff50c39
commit a6d0dc7751
2 changed files with 5 additions and 6 deletions

View File

@@ -2525,12 +2525,11 @@ open class KotlinFileExtractor(
}
if (parent is IrFile) {
if (this.filePath == parent.path) {
val fileId = extractFileClass(parent)
tw.writeEnclInReftype(id, fileId)
} else {
if (this.filePath != parent.path) {
logger.warn(Severity.ErrorSevere, "Unexpected file parent found")
}
val fileId = extractFileClass(parent)
tw.writeEnclInReftype(id, fileId)
break
}