Skip to content

Commit 1b29bdd

Browse files
committed
Python: Revert change to AnyNode
1 parent 663096f commit 1b29bdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/ql/lib/semmle/python/Flow.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,9 @@ class ControlFlowNode extends @py_flow_node {
324324
* This avoids wasting time on the trivial overrides on the ControlFlowNode subclasses.
325325
*/
326326

327-
private class AnyNode extends ControlFlowNode { }
327+
private class AnyNode extends ControlFlowNode {
328+
override AstNode getNode() { result = super.getNode() }
329+
}
328330

329331
/**
330332
* Check whether a SSA variable has complete points-to information.

0 commit comments

Comments
 (0)