From 4799ba00692d3e5fb8bdff6b38aedb485d0f47de Mon Sep 17 00:00:00 2001 From: Robert Marsh Date: Wed, 27 Sep 2023 20:47:45 +0000 Subject: [PATCH] Swift: yet another downgrade script fix --- .../for_in_downgrade.ql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/downgrades/dd1bfe298d87cd82cb0d26e3349ada7244778785/for_in_downgrade.ql b/swift/downgrades/dd1bfe298d87cd82cb0d26e3349ada7244778785/for_in_downgrade.ql index 4271adc1284..cbab28c1aec 100644 --- a/swift/downgrades/dd1bfe298d87cd82cb0d26e3349ada7244778785/for_in_downgrade.ql +++ b/swift/downgrades/dd1bfe298d87cd82cb0d26e3349ada7244778785/for_in_downgrade.ql @@ -37,7 +37,7 @@ query predicate new_for_each_stmts( query predicate new_pattern_binding_decls(Element id) { pattern_binding_decls(id) and - not for_each_stmt_iterator_vars(id, _) + not for_each_stmt_iterator_vars(_, id) } query predicate new_pattern_binding_decl_patterns(Element id, int index, Element pattern) {