[CodeCompletion] Ensure cached results have 'unknown' type relation

This commit is contained in:
Rintaro Ishizaki
2020-02-05 17:05:23 -08:00
parent 566a84d641
commit cc8d4965f8
6 changed files with 30 additions and 11 deletions

View File

@@ -992,7 +992,8 @@ static void transformAndForwardResults(
CodeCompletion::SwiftResult paren(
CodeCompletion::SwiftResult::ResultKind::BuiltinOperator,
SemanticContextKind::ExpressionSpecific,
exactMatch ? exactMatch->getNumBytesToErase() : 0, completionString);
exactMatch ? exactMatch->getNumBytesToErase() : 0, completionString,
CodeCompletionResult::ExpectedTypeRelation::NotApplicable);
SwiftCompletionInfo info;
std::vector<Completion *> extended =