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 6dbeb81 commit 7005d53Copy full SHA for 7005d53
1 file changed
ruby/ql/lib/codeql/ruby/frameworks/core/Array.qll
@@ -657,7 +657,7 @@ module Array {
657
strictconcat(int i |
658
i in [0 .. dig.getNumberOfArguments() - 1]
659
|
660
- "ArrayElement" + buildDigInputSpecComponent(dig, i) + " of " order by i desc
+ ".ArrayElement" + buildDigInputSpecComponent(dig, i) order by i
661
)
662
}
663
@@ -677,7 +677,7 @@ module Array {
677
override MethodCall getACall() { result = dig }
678
679
override predicate propagatesFlowExt(string input, string output, boolean preservesValue) {
680
- input = buildDigInputSpec(dig) + "Receiver" and
+ input = "Receiver" + buildDigInputSpec(dig) and
681
output = "ReturnValue" and
682
preservesValue = true
683
0 commit comments