mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Add ASTContext::Id_ArrayLiteralElement
This commit is contained in:
@@ -8190,7 +8190,7 @@ bool FailureDiagnosis::visitArrayExpr(ArrayExpr *E) {
|
||||
contextualElementType =
|
||||
ProtocolConformanceRef::getTypeWitnessByName(
|
||||
contextualType, *Conformance,
|
||||
CS.getASTContext().getIdentifier("ArrayLiteralElement"), &CS.TC)
|
||||
CS.getASTContext().Id_ArrayLiteralElement, &CS.TC)
|
||||
->getDesugaredType();
|
||||
elementTypePurpose = CTP_ArrayElement;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user