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 59df4de commit 7ee0a7bCopy full SHA for 7ee0a7b
javascript/ql/lib/semmle/javascript/Collections.qll
@@ -160,7 +160,7 @@ private module CollectionDataFlow {
160
exists(DataFlow::MethodCallNode call |
161
call = DataFlow::globalVarRef(["Map", "Object"]).getAMemberCall("groupBy") and
162
pred = call.getArgument(0) and
163
- (succ = call.getCallback(1).getParameter(0) or succ = call.getALocalUse())
+ (succ = call.getCallback(1).getParameter(0) or succ = call)
164
)
165
}
166
0 commit comments