diff --git a/compiler/util-klib/src/org/jetbrains/kotlin/library/impl/KotlinLibraryLayoutImpl.kt b/compiler/util-klib/src/org/jetbrains/kotlin/library/impl/KotlinLibraryLayoutImpl.kt index ffe0d99e9d0..d9243062307 100644 --- a/compiler/util-klib/src/org/jetbrains/kotlin/library/impl/KotlinLibraryLayoutImpl.kt +++ b/compiler/util-klib/src/org/jetbrains/kotlin/library/impl/KotlinLibraryLayoutImpl.kt @@ -111,7 +111,7 @@ fun KotlinLibraryLayoutImpl.extractDir(directory: File): File = this.klib.withZi } open class ExtractingKotlinLibraryLayout(zipped: KotlinLibraryLayoutImpl) : KotlinLibraryLayout { - override val libDir get() = error("Extracting layout doesn't extract its own root") + override val libDir: File get() = error("Extracting layout doesn't extract its own root") override val libraryName = zipped.libraryName } @@ -139,6 +139,10 @@ class ExtractingIrLibraryImpl(val zipped: IrLibraryLayoutImpl) : override val irTypes: File by lazy { zipped.extract(zipped.irTypes) } override val irStrings: File by lazy { zipped.extract(zipped.irStrings) } + + override val irBodies: File by lazy { zipped.extract(zipped.irBodies) } + + override val irFiles: File by lazy { zipped.extract(zipped.irFiles) } } internal fun zippedKotlinLibraryChecks(klibFile: File) {