mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update lib/Sema/CSSimplify.cpp
Co-authored-by: Guillaume Lessard <glessard@tffenterprises.com>
This commit is contained in:
@@ -8709,7 +8709,7 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyConformsToConstraint(
|
||||
auto anchor = loc->getAnchor();
|
||||
auto arrayLiteral = getAsExpr<ArrayExpr>(anchor);
|
||||
|
||||
// If we're attempting to bind an array literal to a n'InlineArray'
|
||||
// If we're attempting to bind an array literal to an 'InlineArray'
|
||||
// parameter, then check if the counts are equal and solve.
|
||||
if (kind == ConstraintKind::LiteralConformsTo &&
|
||||
protocol == arrayLiteralProto &&
|
||||
|
||||
Reference in New Issue
Block a user