Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81c907a commit d016e3cCopy full SHA for d016e3c
2 files changed
ql/src/codeql_ruby/controlflow/internal/ControlFlowGraphImpl.qll
@@ -317,9 +317,9 @@ module Trees {
317
final override AstNode getChildNode(int i) {
318
result = this.getReceiver() and i = 0
319
or
320
- result = this.getArguments() and i = 1
+ result = this.getMethod() and i = 1
321
322
- result = this.getMethod() and i = 2
+ result = this.getArguments() and i = 2
323
}
324
325
0 commit comments