[Completion] Add convertible type relation for attached macros

Resolves rdar://108678938.
This commit is contained in:
Ben Barham
2023-04-28 15:08:37 -07:00
parent db14ae840e
commit f7d1cc8426
8 changed files with 76 additions and 74 deletions

View File

@@ -920,8 +920,7 @@ static void transformAndForwardResults(
*contextFreeResult, SemanticContextKind::CurrentNominal,
CodeCompletionFlairBit::ExpressionSpecific,
exactMatch ? exactMatch->getNumBytesToErase() : 0,
/*TypeContext=*/nullptr, /*DC=*/nullptr, /*USRTypeContext=*/nullptr,
/*CanCurrDeclContextHandleAsync=*/false,
CodeCompletionResultTypeRelation::Unrelated,
ContextualNotRecommendedReason::None);
SwiftCompletionInfo info;