File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/ql/lib/semmle/python/dataflow/new/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ private module Input implements InputSig<PythonDataFlow> {
43
43
predicate uniqueEnclosingCallableExclude ( Node n ) {
44
44
// `CaptureNode`s miss enclosing calables in some cases.
45
45
exists ( Function func |
46
- func = n .( CaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( )
46
+ func = n .( SynthCaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( )
47
47
|
48
48
// This can happen if `func` is a comprehension.
49
49
// In that case, there is no associated DataFlowCallable.
50
50
not exists ( func .getDefinition ( ) )
51
51
)
52
52
or
53
53
// We do not have classes as `DataFlowCallable`s.
54
- n .( CaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( ) instanceof Class
54
+ n .( SynthCaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( ) instanceof Class
55
55
}
56
56
57
57
predicate uniqueCallEnclosingCallableExclude ( DataFlowCall call ) {
You can’t perform that action at this time.
0 commit comments