Rename Slab to InlineArray

This commit is contained in:
Alejandro Alonso
2025-02-11 10:26:44 -08:00
parent a86743e77e
commit e4fb1f6761
24 changed files with 136 additions and 130 deletions

View File

@@ -1669,7 +1669,7 @@ struct TypeSimplifier {
// Special case: When building slab literals, we go through the same
// array literal machinery, so there will be a conversion constraint
// for the element to ExpressibleByArrayLiteral.ArrayLiteralType.
if (lookupBaseType->isSlab()) {
if (lookupBaseType->isInlineArray()) {
auto &ctx = CS.getASTContext();
auto arrayProto =
ctx.getProtocol(KnownProtocolKind::ExpressibleByArrayLiteral);