Skip to content

Commit 7f01586

Browse files
committed
fix bad join order in getDocumentedParameter
1 parent e5bce54 commit 7f01586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/JSDoc.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class JSDocParamTag extends JSDocTag {
144144
/** Gets the parameter this tag refers to, if it can be determined. */
145145
Variable getDocumentedParameter() {
146146
exists(Parameterized parm | parm.getDocumentation() = getParent() |
147-
result = parm.getParameterVariable(getName())
147+
result = pragma[only_bind_out](parm).getParameterVariable(getName())
148148
)
149149
}
150150
}

0 commit comments

Comments
 (0)