File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
python/ql/lib/semmle/python/dataflow/new/internal Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -395,11 +395,9 @@ module VariableCapture {
395
395
)
396
396
}
397
397
398
- private module CaptureInput implements Shared:: InputSig {
398
+ private module CaptureInput implements Shared:: InputSig< Location > {
399
399
private import python as P
400
400
401
- class Location = P:: Location ;
402
-
403
401
class BasicBlock extends P:: BasicBlock {
404
402
Callable getEnclosingCallable ( ) { result = this .getScope ( ) }
405
403
@@ -484,7 +482,7 @@ module VariableCapture {
484
482
485
483
class ClosureExpr = CaptureInput:: ClosureExpr ;
486
484
487
- module Flow = Shared:: Flow< CaptureInput > ;
485
+ module Flow = Shared:: Flow< Location , CaptureInput > ;
488
486
489
487
private Flow:: ClosureNode asClosureNode ( Node n ) {
490
488
result = n .( CaptureNode ) .getSynthesizedCaptureNode ( )
You can’t perform that action at this time.
0 commit comments