Fix IR deserialization trying to deserialize current module after 2400433b6
(cherry picked from commit d12ab28ac0a3fb45007bab9dae9d29fb2c5e4afb)
This commit is contained in:
committed by
Vasily Levchenko
parent
4dacbbf7ee
commit
9cd62f370a
+1
-1
@@ -204,7 +204,7 @@ internal val psiToIrPhase = konanUnitPhase(
|
||||
}.reversed()
|
||||
}
|
||||
|
||||
for (dependency in sortDependencies(dependencies)) {
|
||||
for (dependency in sortDependencies(dependencies).filter { it != moduleDescriptor }) {
|
||||
val kotlinLibrary = dependency.getCapability(KlibModuleOrigin.CAPABILITY)?.let {
|
||||
(it as? DeserializedKlibModuleOrigin)?.library
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user