Python: fix compilation

This commit is contained in:
Rasmus Lerchedahl Petersen
2023-12-20 15:23:33 +01:00
parent 45411f4a93
commit 706e9dc896

View File

@@ -3,6 +3,7 @@ import semmle.python.dataflow.new.DataFlow
import semmle.python.dataflow.new.TypeTracking
import TestUtilities.InlineExpectationsTest
import semmle.python.ApiGraphs
private import semmle.python.dataflow.new.internal.DataFlowPrivate as DP
// -----------------------------------------------------------------------------
// tracked
@@ -28,7 +29,7 @@ module TrackedTest implements TestSig {
// as they do not appear in the source code.
not e instanceof DataFlow::ScopeEntryDefinitionNode and
// ...same for `SynthCaptureNode`s
not e instanceof DataFlow::SynthCaptureNode and
not e instanceof DP::SynthCaptureNode and
tag = "tracked" and
location = e.getLocation() and
value = t.getAttr() and