Merge pull request #63324 from rjmccall/element-archetype-printing

Fix printing and implement parsing of opened element archetypes in SIL
This commit is contained in:
John McCall
2023-02-01 18:59:54 -05:00
committed by GitHub
19 changed files with 394 additions and 87 deletions

View File

@@ -200,10 +200,8 @@ class CodeCompletionCallbacksImpl : public IDEInspectionCallbacks {
const auto ty = swift::performTypeResolution(
ParsedTypeLoc.getTypeRepr(), P.Context,
/*isSILMode=*/false,
/*isSILType=*/false,
CurDeclContext->getGenericSignatureOfContext(),
/*GenericParams=*/nullptr,
/*SILContext=*/nullptr,
CurDeclContext,
/*ProduceDiagnostics=*/false);
if (!ty->hasError()) {