File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ void StmtVisitor::visitReturnStmt(swift::ReturnStmt* stmt) {
58
58
void StmtVisitor::visitForEachStmt (swift::ForEachStmt* stmt) {
59
59
auto label = dispatcher_.assignNewLabel (stmt);
60
60
assert (stmt->getBody () && " ForEachStmt has getBody()" );
61
- assert (stmt->getSequence () && " ForEachStmt has getSequence ()" );
61
+ assert (stmt->getParsedSequence () && " ForEachStmt has getParsedSequence ()" );
62
62
assert (stmt->getPattern () && " ForEachStmt has getPattern()" );
63
63
auto bodyLabel = dispatcher_.fetchLabel (stmt->getBody ());
64
- auto sequenceLabel = dispatcher_.fetchLabel (stmt->getSequence ());
64
+ auto sequenceLabel = dispatcher_.fetchLabel (stmt->getParsedSequence ());
65
65
auto patternLabel = dispatcher_.fetchLabel (stmt->getPattern ());
66
66
emitLabeledStmt (stmt, label);
67
67
dispatcher_.emit (ForEachStmtsTrap{label, patternLabel, sequenceLabel, bodyLabel});
You can’t perform that action at this time.
0 commit comments