mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-20 15:52:36 +00:00
[Plugin API] Fix missed call in resolveBySignatureInModule
This commit is contained in:
@@ -681,7 +681,9 @@ abstract class KotlinIrLinker(
|
||||
deserializersForModules.entries.find { it.key.name == moduleName }?.value ?: error("No module for name '$moduleName' found")
|
||||
assert(signature == signature.topLevelSignature()) { "Signature '$signature' has to be top level" }
|
||||
if (signature !in moduleDeserializer) error("No signature $signature in module $moduleName")
|
||||
return moduleDeserializer.deserializeIrSymbol(signature, topLevelKindToSymbolKind(kind))
|
||||
return moduleDeserializer.deserializeIrSymbol(signature, topLevelKindToSymbolKind(kind)).also {
|
||||
deserializeAllReachableTopLevels()
|
||||
}
|
||||
}
|
||||
|
||||
// The issue here is that an expect can not trigger its actual deserialization by reachability
|
||||
|
||||
Reference in New Issue
Block a user