Skip to content

Commit 924f999

Browse files
authored
Merge pull request github#11104 from github/swift/webviewjoinorder
2 parents 12ab956 + 0e67100 commit 924f999

File tree

1 file changed

+1
-1
lines changed
  • swift/ql/lib/codeql/swift/frameworks/StandardLibrary

1 file changed

+1
-1
lines changed

swift/ql/lib/codeql/swift/frameworks/StandardLibrary/WebView.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private class JsExportedSource extends RemoteFlowSource {
118118
adopter.getEnclosingDecl() instanceof JsExportedType
119119
|
120120
this.(DataFlow::ParameterNode).getParameter().getDeclaringFunction() = adopter and
121-
adopter.getName() = base.getName()
121+
pragma[only_bind_out](adopter.getName()) = pragma[only_bind_out](base.getName())
122122
)
123123
or
124124
exists(FieldDecl adopter, FieldDecl base |

0 commit comments

Comments
 (0)