Skip to content

Commit 0a4a851

Browse files
committed
Ruby: simplify Hash#transform_keys! flow summary
1 parent 3c7f751 commit 0a4a851

File tree

3 files changed

+707
-696
lines changed

3 files changed

+707
-696
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,6 @@ private class TransformKeysBangSummary extends SimpleSummarizedCallable {
474474
(
475475
input = "Argument[self].Element[any]" and
476476
output = "Argument[self].Element[?]"
477-
or
478-
input = "Argument[self].WithoutElement[any]" and
479-
output = "Argument[self]"
480477
) and
481478
preservesValue = true
482479
}

0 commit comments

Comments
 (0)