[K/N][IR] Fixed problem with klib compilation
Fixes https://youtrack.jetbrains.com/issue/KT-46896
This commit is contained in:
+3
-1
@@ -67,7 +67,9 @@ internal fun Context.psiToIr(
|
|||||||
stubGenerator.unboundSymbolGeneration = true
|
stubGenerator.unboundSymbolGeneration = true
|
||||||
|
|
||||||
object : IrDeserializer {
|
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 {
|
override fun resolveBySignatureInModule(signature: IdSignature, kind: IrDeserializer.TopLevelSymbolKind, moduleName: Name): IrSymbol {
|
||||||
error("Should not be called")
|
error("Should not be called")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user