Python: Improve CallCfgNode interface

Call nodes are always local sources (specifically sources of the return
value of the call), and so inheriting from `LocalSourceNode` will have
no effect on results, but _should_ make it a bit more smooth to use the
API.
This commit is contained in:
Taus
2021-04-07 13:29:51 +00:00
committed by GitHub
parent f45916efda
commit 903f364dab

View File

@@ -180,7 +180,7 @@ class CfgNode extends Node, TCfgNode {
}
/** A data-flow node corresponding to a `CallNode` in the control-flow graph. */
class CallCfgNode extends CfgNode {
class CallCfgNode extends CfgNode, LocalSourceNode {
override CallNode node;
/**