Stop using IJ's maps in graph implementation of JPS
This commit is contained in:
committed by
Space Team
parent
55f6614b66
commit
6f3204da0a
@@ -381,6 +381,9 @@ class KotlinJvmModuleBuildTarget(kotlinContext: KotlinCompileContext, jpsModuleB
|
|||||||
val className = generatedClass.outputClass.className
|
val className = generatedClass.outputClass.className
|
||||||
if (!cache.isMultifileFacade(className)) return emptySet()
|
if (!cache.isMultifileFacade(className)) return emptySet()
|
||||||
|
|
||||||
|
// In case of graph implementation of JPS
|
||||||
|
if (previousMappings == null) return emptySet()
|
||||||
|
|
||||||
val name = previousMappings.getName(className.internalName)
|
val name = previousMappings.getName(className.internalName)
|
||||||
return previousMappings.getClassSources(name).toSet()
|
return previousMappings.getClassSources(name).toSet()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user