AST: Add ASTContext::Id_ArrayLiteralElement

This commit is contained in:
Slava Pestov
2017-09-11 21:20:57 -07:00
parent 091da16929
commit defb9cd5b6
4 changed files with 5 additions and 6 deletions

View File

@@ -429,7 +429,7 @@ static bool resolveKnownTypeWitness(NormalProtocolConformance *conformance,
// ExpressibleByArrayLiteral.ArrayLiteralElement
if (*knownKind == KnownProtocolKind::ExpressibleByArrayLiteral) {
assert(assocType->getName() == ctx.getIdentifier("ArrayLiteralElement"));
assert(assocType->getName() == ctx.Id_ArrayLiteralElement);
return resolveViaLookup();
}