[FIR] fix SOE on cycle hierarchy of Java classes during status computation
This commit is contained in:
+6
@@ -345,7 +345,13 @@ abstract class AbstractFirStatusResolveTransformer(
|
|||||||
* so we need to resolve supertypes of this class because they could
|
* so we need to resolve supertypes of this class because they could
|
||||||
* come from kotlin sources
|
* come from kotlin sources
|
||||||
*/
|
*/
|
||||||
|
val statusComputationStatus = statusComputationSession[regularClass]
|
||||||
|
if (!statusComputationStatus.requiresComputation) return
|
||||||
|
|
||||||
|
statusComputationSession.startComputing(regularClass)
|
||||||
forceResolveStatusesOfSupertypes(regularClass)
|
forceResolveStatusesOfSupertypes(regularClass)
|
||||||
|
statusComputationSession.endComputing(regularClass)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (regularClass.origin != FirDeclarationOrigin.Source) return
|
if (regularClass.origin != FirDeclarationOrigin.Source) return
|
||||||
|
|||||||
Reference in New Issue
Block a user