Skip to content

Commit 6c8fb61

Browse files
committed
Js: Update FlowSummaryImpl.qll to make things compile
1 parent 64a9598 commit 6c8fb61

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

javascript/ql/lib/semmle/javascript/dataflow/internal/sharedlib/FlowSummaryImpl.qll

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,10 +1276,12 @@ module Private {
12761276
c = "Argument" or parseArg(c, ppos)
12771277
)
12781278
or
1279-
exists(ReturnNodeExt ret |
1279+
exists(
1280+
ReturnNode ret // TODO: hacked to make this compile; need to switch to module in qlpack
1281+
|
12801282
c = "ReturnValue" and
12811283
ret = node.asNode() and
1282-
ret.getKind().(ValueReturnKind).getKind() = getReturnValueKind() and
1284+
ret.getKind() = getReturnValueKind() and
12831285
mid.asCallable() = getNodeEnclosingCallable(ret)
12841286
)
12851287
or

0 commit comments

Comments
 (0)