mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CSFix] Add a fix to allow value pack expansions without pack references
Situations like `repeat x` where `x` is `Int` where pack expansion expression doesn't have any pack references.
This commit is contained in:
committed by
Pavel Yaskevich
parent
0db67464da
commit
d8c8a39cc5
@@ -14803,6 +14803,7 @@ ConstraintSystem::SolutionKind ConstraintSystem::simplifyFixConstraint(
|
||||
case FixKind::AllowTupleLabelMismatch:
|
||||
case FixKind::AddExplicitExistentialCoercion:
|
||||
case FixKind::DestructureTupleToMatchPackExpansionParameter:
|
||||
case FixKind::AllowValueExpansionWithoutPackReferences:
|
||||
llvm_unreachable("handled elsewhere");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user