[K/N][IR] Fixed problem with klib compilation

Fixes https://youtrack.jetbrains.com/issue/KT-46896
This commit is contained in:
Igor Chevdar
2021-06-16 14:21:57 +05:00
parent 421ff68cd6
commit 1cfe1c41ef
@@ -67,7 +67,9 @@ internal fun Context.psiToIr(
stubGenerator.unboundSymbolGeneration = true
object : IrDeserializer {
override fun getDeclaration(symbol: IrSymbol) = stubGenerator.getDeclaration(symbol)
override fun getDeclaration(symbol: IrSymbol) = functionIrClassFactory.getDeclaration(symbol)
?: stubGenerator.getDeclaration(symbol)
override fun resolveBySignatureInModule(signature: IdSignature, kind: IrDeserializer.TopLevelSymbolKind, moduleName: Name): IrSymbol {
error("Should not be called")
}