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()
|
||||
?: 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
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ class FirBuilderInferenceSession(
|
||||
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
|
||||
commonCalls += call to candidate
|
||||
}
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@ class FirCallCompleter(
|
||||
),
|
||||
null
|
||||
)
|
||||
inferenceSession.addCompetedCall(completedCall, candidate)
|
||||
inferenceSession.addCompletedCall(completedCall, candidate)
|
||||
CompletionResult(completedCall, true)
|
||||
} else {
|
||||
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> 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(
|
||||
lambda: ResolvedLambdaAtom,
|
||||
@@ -45,7 +45,7 @@ abstract class FirStubInferenceSession : FirInferenceSession() {
|
||||
|
||||
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> 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(
|
||||
lambda: ResolvedLambdaAtom,
|
||||
|
||||
Reference in New Issue
Block a user