We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a562568 commit 8715790Copy full SHA for 8715790
ruby/ql/lib/codeql/ruby/ast/Operation.qll
@@ -169,12 +169,12 @@ class AddExprRoot extends AddExpr {
169
private AstNode getALeafOrAdd() {
170
result = this.getAChild()
171
or
172
- result = getALeafOrAdd().(AddExpr).getAChild()
+ result = this.getALeafOrAdd().(AddExpr).getAChild()
173
}
174
175
/** Gets a leaf node of this add expression. */
176
AstNode getALeaf() {
177
- result = getALeafOrAdd() and
+ result = this.getALeafOrAdd() and
178
not result instanceof AddExpr
179
180
0 commit comments