FIR: don't add partially resolved call in builder inference mode
This commit is contained in:
committed by
teamcity
parent
e8be9d4861
commit
bd6fef7841
+3
-1
@@ -139,7 +139,9 @@ class FirCallCompleter(
|
||||
|
||||
ConstraintSystemCompletionMode.PARTIAL -> {
|
||||
runCompletionForCall(candidate, completionMode, call, initialType, analyzer)
|
||||
inferenceSession.addPartiallyResolvedCall(call)
|
||||
if (inferenceSession !is FirBuilderInferenceSession) {
|
||||
inferenceSession.addPartiallyResolvedCall(call)
|
||||
}
|
||||
CompletionResult(call, false)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user