We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 239e14b commit ea9e8e7Copy full SHA for ea9e8e7
swift/ql/lib/codeql/swift/elements/pattern/Pattern.qll
@@ -37,7 +37,7 @@ class Pattern extends Generated::Pattern {
37
)
38
or
39
exists(PatternBindingDecl v, int i |
40
- v.getPattern(i) = this and
+ v.getPattern(i) = pragma[only_bind_out](this) and
41
result = v.getInit(i)
42
43
}
0 commit comments