[K/N] Fix compilation of metadata klibs
This commit is contained in:
committed by
Space Team
parent
983140ca04
commit
60900b72b7
+1
-2
@@ -108,9 +108,8 @@ internal class DynamicCompilerDriver : CompilerDriver() {
|
||||
val psiToIrOutput = if (config.metadataKlib) {
|
||||
null
|
||||
} else {
|
||||
engine.runPsiToIr(frontendOutput, isProducingLibrary = true)
|
||||
engine.runPsiToIr(frontendOutput, isProducingLibrary = true) as PsiToIrOutput.ForKlib
|
||||
}
|
||||
require(psiToIrOutput is PsiToIrOutput.ForKlib)
|
||||
return engine.runSerializer(frontendOutput.moduleDescriptor, psiToIrOutput)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user