[LL FIR] mark super types phase as non-jumping
It is supposed that this phase can't be called from itself because now it is impossible to jump under a lock ^KT-56551
This commit is contained in:
committed by
Space Team
parent
0d7ddd65c2
commit
b88cde11b1
+1
-1
@@ -72,7 +72,7 @@ private class LLFirSuperTypeTargetResolver(
|
|||||||
private val scopeSession: ScopeSession,
|
private val scopeSession: ScopeSession,
|
||||||
private val supertypeComputationSession: LLFirSupertypeComputationSession = LLFirSupertypeComputationSession(session),
|
private val supertypeComputationSession: LLFirSupertypeComputationSession = LLFirSupertypeComputationSession(session),
|
||||||
private val visitedElements: MutableSet<FirElementWithResolveState> = hashSetOf(),
|
private val visitedElements: MutableSet<FirElementWithResolveState> = hashSetOf(),
|
||||||
) : LLFirTargetResolver(target, lockProvider, FirResolvePhase.SUPER_TYPES, isJumpingPhase = true) {
|
) : LLFirTargetResolver(target, lockProvider, FirResolvePhase.SUPER_TYPES, isJumpingPhase = false) {
|
||||||
private val supertypeResolver = object : FirSupertypeResolverVisitor(
|
private val supertypeResolver = object : FirSupertypeResolverVisitor(
|
||||||
session = session,
|
session = session,
|
||||||
supertypeComputationSession = supertypeComputationSession,
|
supertypeComputationSession = supertypeComputationSession,
|
||||||
|
|||||||
Reference in New Issue
Block a user