Js: Update FlowSummaryImpl.qll to make things compile

This commit is contained in:
Asger F
2024-06-25 13:10:24 +02:00
parent 64a9598b89
commit 6c8fb61f60

View File

@@ -1276,10 +1276,12 @@ module Private {
c = "Argument" or parseArg(c, ppos)
)
or
exists(ReturnNodeExt ret |
exists(
ReturnNode ret // TODO: hacked to make this compile; need to switch to module in qlpack
|
c = "ReturnValue" and
ret = node.asNode() and
ret.getKind().(ValueReturnKind).getKind() = getReturnValueKind() and
ret.getKind() = getReturnValueKind() and
mid.asCallable() = getNodeEnclosingCallable(ret)
)
or