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 7630b27 commit ab4935fCopy full SHA for ab4935f
ruby/ql/lib/codeql/ruby/ast/internal/Synthesis.qll
@@ -936,7 +936,7 @@ private module ImplicitHashValueSynthesis {
936
private Ruby::AstNode keyWithoutValue(HashPattern parent, int i) {
937
exists(Ruby::KeywordPattern pair |
938
result = pair.getKey() and
939
- result = toGenerated(parent.(HashPattern).getKey(i)) and
+ result = toGenerated(parent.getKey(i)) and
940
not exists(pair.getValue())
941
)
942
}
0 commit comments