Fix typo: addCompetedCall -> addCompletedCall
This commit is contained in:
committed by
teamcityserver
parent
469b3b9d02
commit
8d27f102e7
+1
-1
@@ -30,7 +30,7 @@ abstract class AbstractManyCandidatesInferenceSession(
|
|||||||
?.currentStorage()
|
?.currentStorage()
|
||||||
?: ConstraintStorage.Empty
|
?: ConstraintStorage.Empty
|
||||||
|
|
||||||
override fun <T> addCompetedCall(call: T, candidate: Candidate) where T : FirResolvable, T : FirStatement {
|
override fun <T> addCompletedCall(call: T, candidate: Candidate) where T : FirResolvable, T : FirStatement {
|
||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -81,7 +81,7 @@ class FirBuilderInferenceSession(
|
|||||||
return postponedAtoms.any { !it.analyzed }
|
return postponedAtoms.any { !it.analyzed }
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun <T> addCompetedCall(call: T, candidate: Candidate) where T : FirResolvable, T : FirStatement {
|
override fun <T> addCompletedCall(call: T, candidate: Candidate) where T : FirResolvable, T : FirStatement {
|
||||||
if (skipCall(call)) return
|
if (skipCall(call)) return
|
||||||
commonCalls += call to candidate
|
commonCalls += call to candidate
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -133,7 +133,7 @@ class FirCallCompleter(
|
|||||||
),
|
),
|
||||||
null
|
null
|
||||||
)
|
)
|
||||||
inferenceSession.addCompetedCall(completedCall, candidate)
|
inferenceSession.addCompletedCall(completedCall, candidate)
|
||||||
CompletionResult(completedCall, true)
|
CompletionResult(completedCall, true)
|
||||||
} else {
|
} else {
|
||||||
inferenceSession.addPartiallyResolvedCall(call)
|
inferenceSession.addPartiallyResolvedCall(call)
|
||||||
|
|||||||
+2
-2
@@ -23,7 +23,7 @@ abstract class FirInferenceSession {
|
|||||||
|
|
||||||
abstract fun <T> addPartiallyResolvedCall(call: T) where T : FirResolvable, T : FirStatement
|
abstract fun <T> addPartiallyResolvedCall(call: T) where T : FirResolvable, T : FirStatement
|
||||||
abstract fun <T> addErrorCall(call: T) where T : FirResolvable, T : FirStatement
|
abstract fun <T> addErrorCall(call: T) where T : FirResolvable, T : FirStatement
|
||||||
abstract fun <T> addCompetedCall(call: T, candidate: Candidate) where T : FirResolvable, T : FirStatement
|
abstract fun <T> addCompletedCall(call: T, candidate: Candidate) where T : FirResolvable, T : FirStatement
|
||||||
|
|
||||||
abstract fun inferPostponedVariables(
|
abstract fun inferPostponedVariables(
|
||||||
lambda: ResolvedLambdaAtom,
|
lambda: ResolvedLambdaAtom,
|
||||||
@@ -45,7 +45,7 @@ abstract class FirStubInferenceSession : FirInferenceSession() {
|
|||||||
|
|
||||||
override fun <T> addPartiallyResolvedCall(call: T) where T : FirResolvable, T : FirStatement {}
|
override fun <T> addPartiallyResolvedCall(call: T) where T : FirResolvable, T : FirStatement {}
|
||||||
override fun <T> addErrorCall(call: T) where T : FirResolvable, T : FirStatement {}
|
override fun <T> addErrorCall(call: T) where T : FirResolvable, T : FirStatement {}
|
||||||
override fun <T> addCompetedCall(call: T, candidate: Candidate) where T : FirResolvable, T : FirStatement {}
|
override fun <T> addCompletedCall(call: T, candidate: Candidate) where T : FirResolvable, T : FirStatement {}
|
||||||
|
|
||||||
override fun inferPostponedVariables(
|
override fun inferPostponedVariables(
|
||||||
lambda: ResolvedLambdaAtom,
|
lambda: ResolvedLambdaAtom,
|
||||||
|
|||||||
Reference in New Issue
Block a user