Skip to content

Commit 81ee932

Browse files
committed
Swift: Fix db types in downgrade script for for-in
1 parent 293400a commit 81ee932

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/downgrades/dd1bfe298d87cd82cb0d26e3349ada7244778785/for_in_downgrade.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class ForEachStmt extends Element, @for_each_stmt {
2727
}
2828

2929
query predicate new_for_each_stmts(
30-
ForEachStmt stmt, @pattern_or_none pattern, @brace_stmt_or_none body, @expr_or_none sequence,
31-
@pattern_binding_decl_or_none iteratorVar
30+
ForEachStmt stmt, Element pattern, Element body, Element sequence,
31+
Element iteratorVar
3232
) {
3333
for_each_stmt(stmt, pattern, body) and
3434
for_each_stmt_iterator_vars(stmt, iteratorVar) and

0 commit comments

Comments
 (0)