@@ -484,9 +484,9 @@ enum class FixKind : uint8_t {
484484 // / result.
485485 AllowSendingMismatch,
486486
487- // / Ignore when a 'Vector ' literal has mismatched number of elements to the
487+ // / Ignore when a 'Slab ' literal has mismatched number of elements to the
488488 // / type it's attempting to bind to.
489- AllowVectorLiteralCountMismatch ,
489+ AllowSlabLiteralCountMismatch ,
490490};
491491
492492class ConstraintFix {
@@ -3841,12 +3841,12 @@ class IgnoreKeyPathSubscriptIndexMismatch final : public ConstraintFix {
38413841 }
38423842};
38433843
3844- class AllowVectorLiteralCountMismatch final : public ConstraintFix {
3844+ class AllowSlabLiteralCountMismatch final : public ConstraintFix {
38453845 Type lhsCount, rhsCount;
38463846
3847- AllowVectorLiteralCountMismatch (ConstraintSystem &cs, Type lhsCount,
3848- Type rhsCount, ConstraintLocator *locator)
3849- : ConstraintFix(cs, FixKind::AllowVectorLiteralCountMismatch , locator),
3847+ AllowSlabLiteralCountMismatch (ConstraintSystem &cs, Type lhsCount,
3848+ Type rhsCount, ConstraintLocator *locator)
3849+ : ConstraintFix(cs, FixKind::AllowSlabLiteralCountMismatch , locator),
38503850 lhsCount (lhsCount), rhsCount(rhsCount) {}
38513851
38523852public:
@@ -3856,12 +3856,12 @@ class AllowVectorLiteralCountMismatch final : public ConstraintFix {
38563856
38573857 bool diagnose (const Solution &solution, bool asNote = false ) const override ;
38583858
3859- static AllowVectorLiteralCountMismatch *
3859+ static AllowSlabLiteralCountMismatch *
38603860 create (ConstraintSystem &cs, Type lhsCount, Type rhsCount,
38613861 ConstraintLocator *locator);
38623862
38633863 static bool classof (const ConstraintFix *fix) {
3864- return fix->getKind () == FixKind::AllowVectorLiteralCountMismatch ;
3864+ return fix->getKind () == FixKind::AllowSlabLiteralCountMismatch ;
38653865 }
38663866};
38673867
0 commit comments