File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4647,11 +4647,11 @@ static llvm::Optional<SyntacticElementTarget>
4647
4647
generateForEachStmtConstraints (ConstraintSystem &cs,
4648
4648
SyntacticElementTarget target) {
4649
4649
ForEachStmt *stmt = target.getAsForEachStmt ();
4650
- auto *sequenceExpr = stmt->getParsedSequence ();
4650
+ auto *forEachExpr = stmt->getParsedSequence ();
4651
4651
auto *dc = target.getDeclContext ();
4652
4652
4653
4653
auto elementLocator = cs.getConstraintLocator (
4654
- sequenceExpr , ConstraintLocator::SequenceElementType);
4654
+ forEachExpr , ConstraintLocator::SequenceElementType);
4655
4655
4656
4656
Pattern *pattern = TypeChecker::resolvePattern (stmt->getPattern (), dc,
4657
4657
/* isStmtCondition*/ false );
@@ -4665,8 +4665,8 @@ generateForEachStmtConstraints(ConstraintSystem &cs,
4665
4665
return llvm::None;
4666
4666
}
4667
4667
4668
- if (isa<PackExpansionExpr>(sequenceExpr )) {
4669
- auto *expansion = cast<PackExpansionExpr>(sequenceExpr );
4668
+ if (isa<PackExpansionExpr>(forEachExpr )) {
4669
+ auto *expansion = cast<PackExpansionExpr>(forEachExpr );
4670
4670
4671
4671
// Generate constraints for the pattern
4672
4672
Type patternType = cs.generateConstraints (
You can’t perform that action at this time.
0 commit comments