Skip to content

Commit 8b99e8a

Browse files
committed
fix bad join by removing bad recursion
1 parent 25a6d49 commit 8b99e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/frameworks/core/Kernel.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ module Kernel {
205205
private class KernelArraySummary extends SummarizedCallable {
206206
KernelArraySummary() { this = "Array()" }
207207

208-
override MethodCall getACallSimple() {
208+
override MethodCall getACall() {
209209
result.getMethodName() = "Array" and
210210
// I have to have a simplified "KernelMethodCall" implementation inlined here, because relying on `UnknownMethodCall` results in non-monotonic recursion (even if using `getACall`).
211211
(

0 commit comments

Comments
 (0)