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 f9f46f0 commit ded3974Copy full SHA for ded3974
python/ql/lib/semmle/python/dataflow/new/internal/DataFlowDispatch.qll
@@ -163,6 +163,10 @@ newtype TArgumentPosition =
163
// position, we need to ensure we make these available (these are specified as
164
// parameters in the flow-summary spec)
165
FlowSummaryImpl::ParsePositions::isParsedPositionalParameterPosition(_, index)
166
+ or
167
+ // the generated function inside a comprehension has a positional argument at index 0
168
+ exists(Comp c) and
169
+ index = 0
170
} or
171
TKeywordArgumentPosition(string name) {
172
exists(any(CallNode c).getArgByName(name))
0 commit comments