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 360a99f commit ee8e018Copy full SHA for ee8e018
ruby/ql/lib/codeql/ruby/ast/internal/Call.qll
@@ -78,12 +78,9 @@ class RegularMethodCall extends MethodCallImpl, TRegularMethodCall {
78
}
79
80
final override string getMethodNameImpl() {
81
- isRegularMethodCall(g) and
82
- (
83
- result = "call" and not exists(g.getMethod())
84
- or
85
- result = g.getMethod().(Ruby::Token).getValue()
86
- )
+ result = "call" and not exists(g.getMethod())
+ or
+ result = g.getMethod().(Ruby::Token).getValue()
87
88
89
final override Expr getArgumentImpl(int n) { toGenerated(result) = g.getArguments().getChild(n) }
0 commit comments