From c0636bef29097b02928c0cad2b1da9dd24d2f458 Mon Sep 17 00:00:00 2001 From: Nick Rolfe Date: Thu, 18 Mar 2021 19:08:51 +0000 Subject: [PATCH] Make CfgScope extend Scope --- ql/src/codeql_ruby/controlflow/ControlFlowGraph.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ql/src/codeql_ruby/controlflow/ControlFlowGraph.qll b/ql/src/codeql_ruby/controlflow/ControlFlowGraph.qll index 30e75576397..519d2b30dad 100644 --- a/ql/src/codeql_ruby/controlflow/ControlFlowGraph.qll +++ b/ql/src/codeql_ruby/controlflow/ControlFlowGraph.qll @@ -9,7 +9,7 @@ private import internal.Splitting private import internal.Completion /** An AST node with an associated control-flow graph. */ -class CfgScope extends AstNode { +class CfgScope extends Scope { CfgScope() { this instanceof CfgScope::Range_ } /** Gets the CFG scope that this scope is nested under, if any. */