Skip to content

Commit e36b079

Browse files
committed
Python: fix compilation error
introduced by bad merge
1 parent 416ba6a commit e36b079

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,9 +1053,10 @@ predicate additionalLambdaFlowStep(Node nodeFrom, Node nodeTo, boolean preserves
10531053
* by default as a heuristic.
10541054
*/
10551055
predicate allowParameterReturnInSelf(ParameterNode p) {
1056-
exists(DataFlowCallable c, ParameterPosition pos |
1057-
p.(ParameterNodeImpl).isParameterOf(c, pos) and
1058-
FlowSummaryImpl::Private::summaryAllowParameterReturnInSelf(c.asLibraryCallable(), pos)
1056+
exists(DataFlowCallable c, ParameterPosition pos |
1057+
p.(ParameterNodeImpl).isParameterOf(c, pos) and
1058+
FlowSummaryImpl::Private::summaryAllowParameterReturnInSelf(c.asLibraryCallable(), pos)
1059+
)
10591060
or
10601061
exists(Function f |
10611062
VariableCapture::Flow::heuristicAllowInstanceParameterReturnInSelf(f) and

0 commit comments

Comments
 (0)