diff --git a/ql/src/codeql_ruby/ast/Expr.qll b/ql/src/codeql_ruby/ast/Expr.qll index 864946672fe..dd927f2a37e 100644 --- a/ql/src/codeql_ruby/ast/Expr.qll +++ b/ql/src/codeql_ruby/ast/Expr.qll @@ -252,7 +252,7 @@ class Rescue extends Expr, @rescue { * end * ``` */ - final Expr getVariable() { result = range.getVariable() } + final Expr getVariableExpr() { result = range.getVariableExpr() } /** * Gets the exception handler body. diff --git a/ql/src/codeql_ruby/ast/internal/Expr.qll b/ql/src/codeql_ruby/ast/internal/Expr.qll index 9232933828c..b61d54835ee 100644 --- a/ql/src/codeql_ruby/ast/internal/Expr.qll +++ b/ql/src/codeql_ruby/ast/internal/Expr.qll @@ -264,7 +264,7 @@ module Rescue { final Expr getException(int n) { result = generated.getExceptions().getChild(n) } - final Expr getVariable() { result = generated.getVariable() } + final Expr getVariableExpr() { result = generated.getVariable() } final StmtSequence getBody() { result = generated.getBody() }