File tree Expand file tree Collapse file tree
python/ql/lib/semmle/python/dataflow/new/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ private module Input implements InputSig<PythonDataFlow> {
4343 predicate uniqueEnclosingCallableExclude ( Node n ) {
4444 // `CaptureNode`s miss enclosing calables in some cases.
4545 exists ( Function func |
46- func = n .( CaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( )
46+ func = n .( SynthCaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( )
4747 |
4848 // This can happen if `func` is a comprehension.
4949 // In that case, there is no associated DataFlowCallable.
5050 not exists ( func .getDefinition ( ) )
5151 )
5252 or
5353 // We do not have classes as `DataFlowCallable`s.
54- n .( CaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( ) instanceof Class
54+ n .( SynthCaptureNode ) .getSynthesizedCaptureNode ( ) .getEnclosingCallable ( ) instanceof Class
5555 }
5656
5757 predicate uniqueCallEnclosingCallableExclude ( DataFlowCall call ) {
You can’t perform that action at this time.
0 commit comments