diff --git a/python/ql/lib/semmle/python/controlflow/internal/Cfg.qll b/python/ql/lib/semmle/python/controlflow/internal/Cfg.qll index ec8b44d5a82..2748e6d427a 100644 --- a/python/ql/lib/semmle/python/controlflow/internal/Cfg.qll +++ b/python/ql/lib/semmle/python/controlflow/internal/Cfg.qll @@ -85,11 +85,13 @@ class ControlFlowNode extends CfgImpl::ControlFlowNode { } /** Holds if this strictly dominates `other`. */ - pragma[inline] + bindingset[this, other] + pragma[inline_late] predicate strictlyDominates(ControlFlowNode other) { super.strictlyDominates(other) } /** Holds if this dominates `other` (reflexively). */ - pragma[inline] + bindingset[this, other] + pragma[inline_late] predicate dominates(ControlFlowNode other) { super.dominates(other) } /** Holds if this is the first node in its enclosing scope. */