Ruby: DataFlow::CallableNode extends DataFlow::StmtSequenceNode

This commit is contained in:
Alex Ford
2023-02-24 16:31:17 +00:00
parent e948e22186
commit a54ca38e31

View File

@@ -1086,7 +1086,7 @@ class StmtSequenceNode extends ExprNode {
/**
* A data flow node corresponding to a method, block, or lambda expression.
*/
class CallableNode extends ExprNode {
class CallableNode extends StmtSequenceNode {
private Callable callable;
CallableNode() { this.asExpr().getExpr() = callable }