AbstractMany...InferenceSession -> FirInferenceSessionForChainedResolve
This commit is contained in:
committed by
teamcity
parent
6342eb96c0
commit
2fc372413e
+1
-1
@@ -32,7 +32,7 @@ class FirBuilderInferenceSession(
|
||||
private val lambda: FirAnonymousFunction,
|
||||
resolutionContext: ResolutionContext,
|
||||
private val stubsForPostponedVariables: Map<ConeTypeVariable, ConeStubType>,
|
||||
) : AbstractManyCandidatesInferenceSession(resolutionContext) {
|
||||
) : FirInferenceSessionForChainedResolve(resolutionContext) {
|
||||
private val commonCalls: MutableList<Pair<FirStatement, Candidate>> = mutableListOf()
|
||||
|
||||
override val currentConstraintStorage: ConstraintStorage
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ class FirDelegatedPropertyInferenceSession(
|
||||
val property: FirProperty,
|
||||
resolutionContext: ResolutionContext,
|
||||
private val postponedArgumentsAnalyzer: PostponedArgumentsAnalyzer,
|
||||
) : AbstractManyCandidatesInferenceSession(resolutionContext) {
|
||||
) : FirInferenceSessionForChainedResolve(resolutionContext) {
|
||||
|
||||
private val currentConstraintSystem = components.session.inferenceComponents.createConstraintSystem()
|
||||
override val currentConstraintStorage: ConstraintStorage get() = currentConstraintSystem.currentStorage()
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import org.jetbrains.kotlin.resolve.calls.inference.model.InitialConstraint
|
||||
import org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl
|
||||
import org.jetbrains.kotlin.types.model.*
|
||||
|
||||
abstract class AbstractManyCandidatesInferenceSession(
|
||||
abstract class FirInferenceSessionForChainedResolve(
|
||||
protected val resolutionContext: ResolutionContext
|
||||
) : FirInferenceSession() {
|
||||
override fun fixSyntheticTypeVariableWithNotEnoughInformation(
|
||||
Reference in New Issue
Block a user