Python: Fix compilation error

This commit is contained in:
Rasmus Lerchedahl Petersen
2020-09-22 15:02:31 +02:00
parent b065d8724e
commit 131cf8d2ec

View File

@@ -182,7 +182,7 @@ predicate containerStep(DataFlow::CfgNode nodeFrom, DataFlow::Node nodeTo) {
exists(CallNode call, string name |
name in ["append", "add"] and
call.getFunction().(AttrNode).getObject(name) =
nodeTo.(PostUpdateNode).getPreUpdateNode().asCfgNode() and
nodeTo.(DataFlow::PostUpdateNode).getPreUpdateNode().asCfgNode() and
call.getArg(0) = nodeFrom.getNode()
)
}