Skip to content

Commit 4799ba0

Browse files
committed
Swift: yet another downgrade script fix
1 parent 188ad6a commit 4799ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift/downgrades/dd1bfe298d87cd82cb0d26e3349ada7244778785/for_in_downgrade.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ query predicate new_for_each_stmts(
3737

3838
query predicate new_pattern_binding_decls(Element id) {
3939
pattern_binding_decls(id) and
40-
not for_each_stmt_iterator_vars(id, _)
40+
not for_each_stmt_iterator_vars(_, id)
4141
}
4242

4343
query predicate new_pattern_binding_decl_patterns(Element id, int index, Element pattern) {

0 commit comments

Comments
 (0)