[PL] Fix: Don't run partial linkage on early stages when no external dependencies have been loaded yet
This commit is contained in:
committed by
Space Team
parent
000cf47c21
commit
87125d0703
+3
-3
@@ -71,7 +71,7 @@ open class IrPluginContextImpl constructor(
|
||||
if (symbol.isBound) return symbol
|
||||
|
||||
linker.getDeclaration(symbol)
|
||||
linker.postProcess()
|
||||
linker.postProcess(inOrAfterLinkageStep = false)
|
||||
|
||||
return symbol
|
||||
}
|
||||
@@ -95,7 +95,7 @@ open class IrPluginContextImpl constructor(
|
||||
|
||||
symbols.forEach { if (!it.isBound) linker.getDeclaration(it) }
|
||||
|
||||
linker.postProcess()
|
||||
linker.postProcess(inOrAfterLinkageStep = false)
|
||||
|
||||
return symbols
|
||||
}
|
||||
@@ -173,7 +173,7 @@ open class IrPluginContextImpl constructor(
|
||||
moduleDescriptor: ModuleDescriptor
|
||||
): IrSymbol? {
|
||||
val symbol = linker.resolveBySignatureInModule(signature, kind, moduleDescriptor.name)
|
||||
linker.postProcess()
|
||||
linker.postProcess(inOrAfterLinkageStep = false)
|
||||
return symbol
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user